Re: an issue for device hot-unplug

2023-04-05 Thread Igor Mammedov
On Tue, 4 Apr 2023 18:00:06 +0200 Yu Zhang wrote: > > this patch targets corner case of early boot where > > guest hasn't initialized ACPI subsystem yet and 'broken' > > management asking to unplug device too early which leads > > to device stuck in being unplugged state due to regression > > in

Re: an issue for device hot-unplug

2023-04-04 Thread Yu Zhang
> this patch targets corner case of early boot where > guest hasn't initialized ACPI subsystem yet and 'broken' > management asking to unplug device too early which leads > to device stuck in being unplugged state due to regression > in QEMU. > However, It doesn't apply to fully booted guest. by a

Re: an issue for device hot-unplug

2023-04-04 Thread Igor Mammedov
On Tue, 4 Apr 2023 08:45:54 +0200 Jinpu Wang wrote: > Hi Yu, > > On Mon, Apr 3, 2023 at 6:59 PM Yu Zhang wrote: > > > > Dear Laurent, > > > > Thank you for your quick reply. We used qemu-7.1, but it is reproducible > > with qemu from v6.2 to the recent v8.0 release candidates. > > I found that

Re: an issue for device hot-unplug

2023-04-04 Thread Igor Mammedov
On Mon, 3 Apr 2023 15:24:43 +0200 Yu Zhang wrote: > Dear Laurent, > > recently we run into an issue with the following error: > > command '{ "execute": "device_del", "arguments": { "id": "virtio-diskX" } > }' for VM "id" failed ({ "return": {"class": "GenericError", "desc": > "Device virtio-dis

Re: an issue for device hot-unplug

2023-04-04 Thread Jinpu Wang
Hi Yu and Laurent, On Mon, Apr 3, 2023 at 6:59 PM Yu Zhang wrote: > > Dear Laurent, > > Thank you for your quick reply. We used qemu-7.1, but it is reproducible with > qemu from v6.2 to the recent v8.0 release candidates. > I found that it's introduced by the commit 9323f892b39 (between v6.2.0-

Re: an issue for device hot-unplug

2023-04-03 Thread Jinpu Wang
Hi Yu, On Mon, Apr 3, 2023 at 6:59 PM Yu Zhang wrote: > > Dear Laurent, > > Thank you for your quick reply. We used qemu-7.1, but it is reproducible with > qemu from v6.2 to the recent v8.0 release candidates. > I found that it's introduced by the commit 9323f892b39 (between v6.2.0-rc2 > and v

Re: an issue for device hot-unplug

2023-04-03 Thread Yu Zhang
Dear Laurent, Thank you for your quick reply. We used qemu-7.1, but it is reproducible with qemu from v6.2 to the recent v8.0 release candidates. I found that it's introduced by the commit 9323f892b39 (between v6.2.0-rc2 and v6.2.0-rc3). If it doesn't break anything else, it suffices to remove t

Re: an issue for device hot-unplug

2023-04-03 Thread Laurent Vivier
Hi Yu, please open a bug in the bug tracker: https://gitlab.com/qemu/qemu/-/issues It's easier to track the problem. What is the version of QEMU you are using? Could you provide QEMU command line? Thanks, Laurent On 4/3/23 15:24, Yu Zhang wrote: Dear Laurent, recently we run into an issue

an issue for device hot-unplug

2023-04-03 Thread Yu Zhang
Dear Laurent, recently we run into an issue with the following error: command '{ "execute": "device_del", "arguments": { "id": "virtio-diskX" } }' for VM "id" failed ({ "return": {"class": "GenericError", "desc": "Device virtio-diskX is already in the process of unplug"} }). The issue is reprodu