Re: [PATCH 2/6] virtio block driver for QEMU (v2)

Anthony Liguori
2007-11-12T23:26:42Z

Avi Kivity wrote:
> Daniel P. Berrange wrote:
>> On Sat, Nov 10, 2007 at 09:20:36PM -0600, Anthony Liguori wrote:
>>
>>> This patch implements a very naive virtio block device backend in QEMU.
>>> There's a lot of room for future optimization. We need to merge a
>>> -disk patch
>>> before we can provide a mechanism to expose this to users.
>>>
>>
>> The latest generation of -disk patches posted to upstream qemu-devel are
>> looking quite promising & with any luck should get accepted for merge in
>> the very near future.
>>
>> Are these block & net drivers able todo hot-plug/unplug after a domain
>> has been created ? If so we'd also want to have disk_add/disk_remove
>> and net_add/net_remove monitor commands (cf usb_add/usb_remove) for
>> on-the-fly changes.
>>
>
> Some poor soul would need to add this functionality to kvm's acpi tables.

I don't think there's anything I need to do in virtio-pci to support
this. I would just see a ->probe() event I imagine.

Regards,

Anthony Liguori