[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] e1000: Fix hotplug
From: |
Glauber Costa |
Subject: |
[Qemu-devel] Re: [PATCH] e1000: Fix hotplug |
Date: |
Tue, 3 Aug 2010 08:17:06 -0400 |
User-agent: |
Jack Bauer |
On Mon, Aug 02, 2010 at 03:15:17PM -0600, Alex Williamson wrote:
> When we hotplug the device,
> we don't go through a reset cycle, which means a hot added e1000 is
> useless until the VM reboots.
I do guess, however, that this is true for any device, right?
Wouldn't it be better to just call the newly added reset function at
hotplug? One way to do that, would be to store a value indicated qemu
has already started. If you add a reset handler after that, the function
is called before being placed on the list.