[libvirt] [PATCH 12/12] qemu: implement input device hotunplug

Ján Tomko jtomko at redhat.com
Thu Oct 19 13:04:17 UTC 2017


On Thu, Oct 19, 2017 at 08:11:39AM -0400, John Ferlan wrote:
>
>
>On 10/17/2017 11:04 AM, Ján Tomko wrote:

[...]

>> @@ -4430,6 +4430,31 @@ qemuDomainRemoveWatchdog(virQEMUDriverPtr driver,
>>  }
>>
>>
>> +static int
>> +qemuDomainRemoveInputDevice(virDomainObjPtr vm,
>> +                            virDomainInputDefPtr dev)
>> +{
>> +    qemuDomainObjPrivatePtr priv = vm->privateData;
>> +    virQEMUDriverPtr driver = priv->driver;
>
>So none of the Remove* API's need to pass @driver... doh! Never even
>considered that - the first non-lemming ;-)!
>

Not since commit 2e6ecba, but the cleanup is TBD.

Jan

>John
>
>[...]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20171019/8da19402/attachment-0001.sig>


More information about the libvir-list mailing list