[libvirt] [PATCHv2] qemu: fix typo in name - should be VHOST_NET, not VNET_HOST
Eric Blake
eblake at redhat.com
Tue May 24 14:54:34 UTC 2011
On 05/24/2011 08:51 AM, Daniel P. Berrange wrote:
> On Tue, May 24, 2011 at 10:31:33AM -0400, Laine Stump wrote:
>> NB: the enum that uses the string vnet-host (now changed to vhost-net)
>> is used in XML, but fortunately that hasn't been in an official
>> release yet, so it can still be fixed.
>> ---
>> src/qemu/qemu_capabilities.c | 4 ++--
>> src/qemu/qemu_capabilities.h | 2 +-
>> src/qemu/qemu_command.c | 2 +-
>> tests/qemuhelptest.c | 8 ++++----
>> 4 files changed, 8 insertions(+), 8 deletions(-)
>>
>> diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
>> index 71a54a5..c69cf1d 100644
>> --- a/src/qemu/qemu_capabilities.c
>> +++ b/src/qemu/qemu_capabilities.c
>> @@ -85,7 +85,7 @@ VIR_ENUM_IMPL(qemuCaps, QEMU_CAPS_LAST,
>> "netdev",
>>
>> "rtc", /* 30 */
>> - "vnet-host",
>> + "vhost-net",
>> "rtc-td-hack",
>> "no-hpet",
>> "no-kvm-pit",
>
> NACK. See the comment above this enum
>
> /* While not public, these strings must not change. They
> * are used in domain status files which are read on
> * daemon restarts
> */
These strings did not exist in 0.9.1. They will first appear in 0.9.2,
which means that _now_ is the time to fix them.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110524/8146a376/attachment-0001.sig>
More information about the libvir-list
mailing list