On Thu, Jun 26, 2014 at 12:18:24PM +0200, Michal Privoznik wrote:
[...]
<enum name='bus'>
<value>ide</value>
<value>fdc</value>
<value>scsi</value>
<value>virtio</value>
<value>xen</value>
<value>usb</value>
<value>sd</value>
</enum>
Libguestfs could certainly use this ^.
Also we could use the features outlined in this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1107842#c0
- If this works: <bios useserial=yes> (ie. sgabios)
- If this works: <cpu mode=host-passthrough>
- Whether the hpet timer needs to be disabled (see also bug 1066145)
- Whether guests need a <dtb/> element
I wonder if we should or should not expose the version number of qemu
too? Although it would tempt API users to key features based on the
version of qemu, which is wrong, it's useful for debugging.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/