qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 14/15] hw/block/virtio-blk: create num_queues vq


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 14/15] hw/block/virtio-blk: create num_queues vqs if dataplane is enabled
Date: Fri, 01 Aug 2014 08:10:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Il 01/08/2014 05:09, Ming Lei ha scritto:
>>> >> Per virtio spec, only the feature is set, the VM can be allowed to
>>> >> access the 'num_queues' field, and I didn't see any problem from
>>> >> VM's view point.
>>> >>
>>> >> So could you explain why both dataplane and non-dataplane have
>>> >> to support the feature.
>> >
>> > Because otherwise you change the guest ABI.
> Sorry, I don't understand why the guest ABI is changed since
> VM only parses 'num_queues' iff the feature is set, and the DATAPLANE
> macro is determined during compiling.

Even recompiling the same version of QEMU should not change the guest
ABI.  Recompilation may affect which devices are present, but then the
migration destination will not even start if something is broken.

And as you pointed out, migration from dataplane to non-dataplane will
break because you didn't convert callers of virtqueue_pop/push.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]