You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
USB not visible on guest. I cannot see anything obvious from the logs but because I do not have much virtualisation experience I assume I missed a step in the configuration that is preventing the USB drive from appearing on debian.
Steps to Reproduce
I was receiving errors for xhci not being found before I read #3 and inserted the same lines is using before the qemu arguments from the readme:
The readme does mention the XML is a work in progress but can you please confirm whether it is correct to add these lines and if anything else is required for a basic setup using virt-manager? Initially this resulted in the same device not found error I can see from the log VladislavF uploaded but some combination of purging everything related to qemu-kvm, libvirt, virtsh, virt-manager, and reinstalling from the default repo, backports (as qemu is v4.x on 20.04), and a third party repo lead me to many new errors but after many iterations now with none that are obvious to me and in fact from the logs to me at least it looks good. Unfortunately the issue remains, no USB visible on Debian although it seems like I am close!
I cannot say exactly what stopped me receiving that error but I can outline the general steps to setup after the latest purge so that hopefully you can easily spot what I am missing and it may also help someone else.
Add ppa:jacob/virtualisation for qemu v5 without the headache of compiling dependencies.
If encountering the 'a storage path must be specified' bug workaround this by moving the installer ISO to the location you want to use for storage, start again selecting it there, and then you should be able to create a volume for storage.
Install Debian 11 without changing or adding anything else virt manager.
My monitor output using a USB 2 and USB 3 keys was:
Edit qemu.conf as per the readme to workaround the apparmor issue.
Complete the troubleshooting steps deleting hotplugger/tmp, rebooting the system, rebooting udev, and viewing the udev's logfile.
Actual result:
Boot Debian and once logged connect the USB key to the port and after observe that the host sees it fine but there is no sign of it on Debian. Do this a second time to show the udev log without error after the reboot.
Versions
QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu6~ppa00)
Host: Ubuntu 20.04
Guest: Debian 11
Description
USB not visible on guest. I cannot see anything obvious from the logs but because I do not have much virtualisation experience I assume I missed a step in the configuration that is preventing the USB drive from appearing on debian.
Steps to Reproduce
I was receiving errors for xhci not being found before I read #3 and inserted the same lines is using before the qemu arguments from the readme:
The readme does mention the XML is a work in progress but can you please confirm whether it is correct to add these lines and if anything else is required for a basic setup using virt-manager? Initially this resulted in the same device not found error I can see from the log VladislavF uploaded but some combination of purging everything related to qemu-kvm, libvirt, virtsh, virt-manager, and reinstalling from the default repo, backports (as qemu is v4.x on 20.04), and a third party repo lead me to many new errors but after many iterations now with none that are obvious to me and in fact from the logs to me at least it looks good. Unfortunately the issue remains, no USB visible on Debian although it seems like I am close!
I cannot say exactly what stopped me receiving that error but I can outline the general steps to setup after the latest purge so that hopefully you can easily spot what I am missing and it may also help someone else.
Add ppa:jacob/virtualisation for qemu v5 without the headache of compiling dependencies.
sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager
If encountering the 'a storage path must be specified' bug workaround this by moving the installer ISO to the location you want to use for storage, start again selecting it there, and then you should be able to create a volume for storage.
Install Debian 11 without changing or adding anything else virt manager.
My monitor output using a USB 2 and USB 3 keys was:
Leave the USB key disconnected.
debian.xml.txt
Edit qemu.conf as per the readme to workaround the apparmor issue.
Complete the troubleshooting steps deleting hotplugger/tmp, rebooting the system, rebooting udev, and viewing the udev's logfile.
Actual result:
hotplugger.log
udev.log
libvirt_debian.log
Expected result:
USB visible on Debian guest.
Reproduces how often:
Always.
Can you please tell me how I can resolve this?
The text was updated successfully, but these errors were encountered: