Re: [Qemu-devel] hotremoving a disk qmp/hmp

2014-11-19 Thread William Dauchy
On Nov18 18:15, Markus Armbruster wrote: Looks like you're using an old version of QEMU. drive_del has been fixed to refuse touching a backend created with blockdev-add: I am using the last v2.1.x version but there was indeed some commits since You can't destroy a backend created with

[Qemu-devel] hotremoving a disk qmp/hmp

2014-11-18 Thread William Dauchy
Hello, When hotremoving a disk I'm using the QMP API with device_del command; Previous query-block command result: { u'device': u'disk1', u'inserted': { u'backing_file_depth': 0, u'bps': 0, u'bps_rd': 0, u'bps_wr': 0,

Re: [Qemu-devel] hotremoving a disk qmp/hmp

2014-11-18 Thread Markus Armbruster
William Dauchy will...@gandi.net writes: Hello, When hotremoving a disk I'm using the QMP API with device_del command; Previous query-block command result: { u'device': u'disk1', u'inserted': { u'backing_file_depth': 0, u'bps': 0,

Re: [Qemu-devel] hotremoving a disk qmp/hmp

2014-11-18 Thread William Dauchy
On Nov18 15:22, Markus Armbruster wrote: This is block backend disk1. yes indeed. I presume you're deleting the device using backend disk1. yes What kind of device is this? PCI, perhaps? Please show us a complete QMP conversation. Here it is: live vm with one disk: (QEMU) query-block {

Re: [Qemu-devel] hotremoving a disk qmp/hmp

2014-11-18 Thread Markus Armbruster
William Dauchy will...@gandi.net writes: On Nov18 15:22, Markus Armbruster wrote: This is block backend disk1. yes indeed. I presume you're deleting the device using backend disk1. yes What kind of device is this? PCI, perhaps? Please show us a complete QMP conversation. Here it is: