qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [Question] How can we confirm hot-plug disk succesfully


From: Kevin Wolf
Subject: Re: [Qemu-block] [Question] How can we confirm hot-plug disk succesfully?
Date: Mon, 19 Jun 2017 09:27:27 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 18.06.2017 um 09:21 hat Xie Changlong geschrieben:
> In device hot-remove scenario, if we don't probe acpiphp module on
> the guest, 'device_del' will never emit DEVICE_DELETED event(because
> guest will not write to __EJ0) . So we can confirm that hot-remove
> failed. But IIUC, there is no event such as DEVICE_ADDED, so
> 1) How can we confirm hotplug('device_add') successfully?
> 2) It seems when hot-plug disk, we don't care acpiphp module status
> on the guest, am I right?
> 3) Why there is no DEVICE_ADDED like event?

device_add doesn't need guest cooperation, so it is immediately
completed when the QMP command returns success.

Kevin



reply via email to

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