Interesting. I think I’ll play later and see how Qemu is compared to the VMware workstation…
To make it clear I use virt-manager
(GUI frontend to QEMU/KVM using libvirt). You can use qemu
from the command line too.
BTW: I use Vmware because of Bluetooth access.
I use my laptop to connect to bluetooth devices. I’ve seen that Virtualbox was a bit hard to configure.
Before attempting to use QEMU, this technology will let me use bluetooth?
It depends, what is your bluetooth adapter like? Mine uses a USB bus so it can passthrough to the guest.
PCI devices can also passthrough to the guest.
Currently, with Vmware Workstation, I use the Bluetooth card of my laptop so I can connect to this.
I need an external Bluetooth dongle, than?
So you want to connect to bluetooth from a VM to a device.
Can you show me the output of lsusb
and lspci
?
Place the output in a code fence using three backticks ``` at the start and end.
lsusb:
Bus 001 Device 004: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 003: ID 04f2:b64a Chicony Electronics Co., Ltd USB2.0 VGA UVC WebCam
Bus 001 Device 002: ID 03f0:2a41 HP, Inc HP 1000 USB Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub```
lspci:
``` 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
00:1e.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO SPI Controller #0 (rev 21)
00:1e.6 SD Host controller: Intel Corporation Sunrise Point-LP Secure Digital IO Controller (rev 21)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce MX130] (rev a2)
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)```
I see you got Bluetooth over a USB bus. Yes you can redirect that to the guest in qemu.
virt-manager has the option to redirect a host USB device so it should work, try it out if you want.
Ok. Now I’m at the top of a mountain (literally), and the connection is only quicker than GPRS.
I have only a Ubuntu ISO in my downloads, so I’ll try to virtualize Ubuntu for now and connect to my Bluetooth earphones inside the VM.
At home, I’ll virtualize Windows 11 and try the app I use to connect to my Bluetooth trackers.
Thanks!!
You’re welcome.
Should be noted that if you intend on using Windows you won’t have 3D acceleration unless you do GPU passthrough. On Linux guests you can use virtio with OpenGL 3D acceleration.
If you want to use Windows with QEMU I highly recommend that you use virtio devices and install virtio drivers for storage and ethernet. QXL can provide decent 2D acceleration (since no virtio 3D for Windows).
You are probably better staying with VMware for Windows guests. I mostly have headless VMs so graphics aren’t an issue.
Ok, on this, I have to study.
I can’t understand a lot.
If you have a link or something I’ll read about it.
Or, I’ll start from KVM/QEmu and then try to learn.
Probably a good starting point:
Windows 11 has nasty TPM and RAM requirements, you need some workarounds in the installation phase.
I was using VMware on my mac to run a Windows 10 VM.
I found instructions on the web on how to convert the VMware disk image and config into
a form that works with QEMU using the virt manager app.
This is very good!
So I don’t have to reinstall and reconfigure everything.
Yes, but I recommend that you install virtio drivers to your windows VM and switch to virtio devices for better performance.
Just to add - proper drivers for Windows VM’s storage must be selected during Windows VM install as there is no easy way to change to virtio storage post installation, IIRC.
Ok, so I should install from scratch.
Once I’ll achieve that, I’ll compare the 2 VMs.
I did not notice performance issues with the converted vmware image of windows 10. Only needed to install the spice? tools.
Hello people,
after downloading the Windows ISO and the Virt ISO too,
I’ve installed Windows.
Bluetooth is working very fine!
I’m testing it with my Bluetooth earphones, and I’ll try it later with the Bluetooth tracker.
I’ve seen that the image that virt-manager (sorry if I’m not so precise in terminology, but I’m learning) created is in a directory of my disk.
I want to move the entire VM (not only that file) to another partition (Ext4 encrypted), so I can manage backups with Pika Backup.
I’ve looked online, but I’m not sure of the results.
Can someone help me with a link or something?
Now, just a consideration: I think I’ll remove Vmware Workstation if the tests are OK with the Bluetooth tracker. I’ll stick to Qemu.
Thanks for all the help and replies I’ve received.
It’s a great community.