
On Fri, May 04, 2012 at 04:22:14PM +0200, Gerd Hoffmann wrote:
Hi,
Is there some way to disable usb altogether? libvirt used to just pass in '-usb'. With the arrival of usb2 support that changed into '-device uhci,...'. Problem is that this breaks with several machine types such as isapc. '-usb' is silently ignored in case the machine type can't handle usb. '-device uhci,...' leads to an error message though and the guest doesn't start.
/me tried "<controller type='usb' model='none'/>" which didn't work. Just removing the controller from the xml doesn't work too, it gets automagically readded.
Sadly this isn't possible yet. The only way to make it possible would be to use the model='none' idea as you mention, since that matches the virtio-balloon approach. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|