[libvirt-users] usb post passthough stopped workng after kernel upgrade

daggs daggs at gmx.com
Fri Nov 9 12:24:09 UTC 2018


Solved!

apparmor was to blame, I've disabled it on kernel params and all works again.

> Sent: Thursday, November 08, 2018 at 9:16 AM
> From: daggs <daggs at gmx.com>
> To: libvirt-users at redhat.com
> Subject: Re: [libvirt-users] usb post passthough stopped workng after kernel upgrade
>
> anyone has any idea regarding this issue?
> 
> > Sent: Monday, November 05, 2018 at 7:55 PM
> > From: daggs <daggs at gmx.com>
> > To: libvirt-users at redhat.com
> > Subject: [libvirt-users] usb post passthough stopped workng after kernel upgrade
> >
> > Greetings,
> > 
> > I have a vm on debian 9.5 to which I pass an specific usb from the host. here is the relevant part in the vm's xml file:
> >     <hostdev mode='subsystem' type='usb' managed='yes'>
> >       <source>
> >         <vendor id='0x148f'/>
> >         <product id='0x5572'/>
> >       </source>
> >       <address type='usb' bus='0' port='1'/>
> >     </hostdev>
> > the address line was added automatically by libvirt.
> > everything was working well with kernel 4.15.11-1~bpo9+1 until I needed to upgrade the kernel to latest possible version due to usb issues
> > I've upgraded to 4.18.6-1~bpo9+1. after the upgrade, my vm doesn't starts anymore, I see this msg:
> > error: Failed to start domain router
> > error: internal error: qemu unexpectedly closed the monitor: 2018-11-02T13:43:32.174730Z qemu-system-x86_64: -device usb-host,hostbus=1,hostaddr=4,id=hostdev4,bus=usb.0,port=1: failed to find host usb device 1:4
> > 
> > how can a kernel upgrade cause this? is there a fix for this issue?
> > 
> > Thanks,
> > 
> > Dagg.
> > 
> > _______________________________________________
> > libvirt-users mailing list
> > libvirt-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/libvirt-users
> > 
> 
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
> 




More information about the libvirt-users mailing list