[Libvir] [PATCH] Fix USB device name mis-conversion from S-Expr to XML

Daniel P. Berrange berrange at redhat.com
Wed Jan 30 16:38:49 UTC 2008


On Wed, Jan 30, 2008 at 11:22:16AM +0900, Hiroyuki Kaguchi wrote:
> Would you give me a comment on this patch? If not, please apply it.
> 
> > "tablet" and "mouse" are set as a value of the
> > /local/domain/<domid>/image/hvm/usbdevice,
> > but libvirt expects "usbdevice" and "usbmouse" as a value.
> > This causes the following.
> > If a USB device is attached by virt-manager,
> > the USB device is not seen from virt-manager.
> > 
> > This patch fixes expected value of libvirt

I have applied a variant on this patch, and also fixed the test suite
which was using the wrong SEXPR syntax for USB devices.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list