On Fri, Nov 12, 2010 at 01:26:30PM +0200, Michael S. Tsirkin wrote: > No, I am just trying to understand why is hotplug event dangerous. > We still get it if we do device add before starting the VM, right?
I'm not sure if it's safe to call enable/disable_device() and pm_update_sci() before starting VM. So I'd like to avoid to call them instead of making sure it. If someone else ensures its safety, I'm willing to eliminate the if clause. -- yamahata