Re: Parse commandline for -device option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 04, 2014 at 10:27:32AM -0600, Eric Blake wrote:
> On 06/04/2014 03:07 AM, Hong-Hua.Yin@xxxxxxxxxxxxx wrote:
> > Hi Maintainers,
> > 
> > Currently libvirt could only parse commandline for several legacy devices.
> > For example,
> > -pcidevice:		qemuParseCommandLinePCI()
> > -usbdevice: 	qemuParseCommandLineUSB()
> 
> Yes, the domxml-from-native functionality is woefully under-maintained
> for qemu.  Patches are welcome.
> 
> > Is it complicated to add support to -device option in function qemuParseCommandLine()?
> > Do you have any thought or plan about it?
> 
> You're welcome to give it a shot to find out how easy or hard it will
> be; it's just that few enough people are relying on it that no one has
> moved it to the top of their priority list to fix it.

It probably isn't that hard - merely alot of tedious work - which is
why it hasn't been done. If you do want to work on it, don't feel you
need to implement everything - even just making a small start for a
particular type of device (eg host PCI devicecs), would be useful and
set a foundation for future work


Regards,
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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]