OSDN Git Service

pc: Use hotplug_handler_(plug|unplug|unplug_request)
authorDavid Hildenbrand <david@redhat.com>
Wed, 12 Dec 2018 09:57:07 +0000 (10:57 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2019 15:50:21 +0000 (16:50 +0100)
commit473ac56706e3408a5c10835c2c18ea22b96538e8
tree40da189441135e80bb37a41651e67c81f10d6579
parent26dc4a5bf96bb0ee19a0e446fead1546d5b07dac
pc: Use hotplug_handler_(plug|unplug|unplug_request)

Let's avoid manually looking up the hotplug handler class. Use the
existing wrappers instead.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181212095707.19358-1-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc.c