|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH] qdev: Reset hotplugged devices |
Date: | Mon, 23 Aug 2010 07:21:08 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6 |
On 08/23/2010 07:00 AM, Avi Kivity wrote:
Off-topic, but what's the reason for dev->hotplugged's existence? A device is either plugged or not, it is either hotpluggable or not, but is there a way to tell, from looking at a plugged device, whether it has been hotplugged in the past?AFAICT it is redundant state and should be removed.
I've got that in my qdev tree. http://repo.or.cz/w/qemu/aliguori.git/commit/672720c5c0315d2a5b43f58fd75822cc4a390ae9 Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |