1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00
Mark McLoughlin 948897687e Add checks for some NIC hotplug related features added in qemu-0.10.0
Add QEMUD_CMD_FLAG_NET_NAME to indicate that '-net ...,name=foo' is
supported and QEMUD_CMD_FLAG_HOST_NET_ADD to indicate that the
'host_net_add' monitor command is available.

Set both these flags if the qemu version is greater than 0.10.0.
Checking via the '-help' output would not work for the monitor command
and even for the command line arg, it would be quite fragile.

* src/qemu_conf.h: add new flags as aliases of QEMUD_CMD_FLAG_0_10

* src/qemu_conf.c: set QEMUD_CMD_FLAG_0_10 for versions >= 0.10.0

* tests/qemuhelptest.c: set QEMUD_CMD_FLAG_0_10 for the appropriate
  qemu versions
2009-07-22 11:34:06 +01:00
..
2009-07-16 15:06:42 +02:00
2009-07-08 16:17:51 +02:00
2007-11-12 14:07:37 +00:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00
2008-06-26 09:37:51 +00:00
2009-07-16 15:06:42 +02:00
2009-01-12 18:23:10 +00:00
2008-11-24 07:13:29 +00:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00