On Tue, 27 May 2014 18:12:09 +0200 Paolo Bonzini <pbonz...@redhat.com> wrote:
> Il 27/05/2014 17:57, Anshul Makkar ha scritto: > > > > > > object_add memory-ram,id=ram0,size=1G, device_add dimm,id=dimm1,memdev=ram0 > > > > object_add memory-ram,id=ram1,size=1G, device_add dimm,id=dimm2,memdev=ram1 > > > > object_add memory-ram,id=ram2,size=1G, device_add dimm,id=dimm3,memdev=ram2 > > > > device_del dimm3: I get the OST EVENT EJECT 0x3 and OST STATUS as > > 0x84(IN PROGRESS) If I check on the guest, the device has been > > successfully removed. But no OST EJECT SUCCESS event was received. > > > > device_del dimm2: I get OST EVENT EJECT 0x3, OST STATUS 0x84 (IN > > PROGRESS). Then 2nd time OST EVENT EJECT 0x3, OST STATUS 0x1 (FAILURE) . > > Device is not removed from the guest. > > > > device_del dimm1: I get OST EVENT EJECT 0x3, OST STATUS 0x84 (IN > > PROGRESS). Then 2nd OST EVENT EJECT 0x3, OST STATUS 0x1(FAILURE) . > > Device is not removed from the guest. > > I don't think this series includes unplug support. > > Paolo Indeed, this series includes only hot-add. I guess people trying out this experiment https://github.com/taohu/qemu/commits/memhp