qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Dangling change state handler while hot unplugging ahci


From: Ashijeet Acharya
Subject: Re: [Qemu-devel] Dangling change state handler while hot unplugging ahci adapter
Date: Tue, 9 Aug 2016 22:46:51 +0530

Hi again,
I am still waiting for some guidance...Can I please get some help with this?

Also.. I tried hotplugging an AHCI adapter but got the following error:
Bus 'ahci.0' does not support hotplugging

Steps I followed:

1. launch vm with ahci enabled
2. (qemu) drive_add 0 file=test.qcow2,cache=none,if=none,id=disk2,format=qcow2
OK
3. (qemu) device_add ide-hd,bus=ahci.0,id=ahci-disk,drive=disk2
Bus 'ahci.0' does not support hotplugging

What am I doing wrong?

Thanks
Ashijeet

On Sat, Aug 6, 2016 at 11:21 PM, Ashijeet Acharya
<address@hidden> wrote:
> Hi,
>
> I was working on a patch regarding a device lifecycle bitesize task
> and I wanted to clear my queries about what the task is exactly.
>
> Do I need to create a new function ahci_unrealize() in the
> hw/ide/ahci.c file which calls for qemu_del_vm_change_state_handler()
> to free the handler at the time of ahci hot unplug.
>
> Please tell me if I am on the right path and correct me if I am wrong.
>
> Thanks
> Ashijeet



reply via email to

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