mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
domain: Register base class signals earlier
Otherwise child classes don't see them
This commit is contained in:
parent
d91f0afa3a
commit
0c8a51c8dc
@ -1627,10 +1627,10 @@ class vmmDomainVirtinst(vmmDomainBase):
|
|||||||
def hotplug_both_mem(self, memory, maxmem):
|
def hotplug_both_mem(self, memory, maxmem):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
vmmLibvirtObject.type_register(vmmDomainVirtinst)
|
|
||||||
|
|
||||||
vmmLibvirtObject.type_register(vmmDomainBase)
|
vmmLibvirtObject.type_register(vmmDomainBase)
|
||||||
vmmDomainBase.signal_new(vmmDomainBase, "status-changed", [int, int])
|
vmmDomainBase.signal_new(vmmDomainBase, "status-changed", [int, int])
|
||||||
vmmDomainBase.signal_new(vmmDomainBase, "resources-sampled", [])
|
vmmDomainBase.signal_new(vmmDomainBase, "resources-sampled", [])
|
||||||
|
|
||||||
|
vmmLibvirtObject.type_register(vmmDomainVirtinst)
|
||||||
|
|
||||||
vmmLibvirtObject.type_register(vmmDomain)
|
vmmLibvirtObject.type_register(vmmDomain)
|
||||||
|
Loading…
Reference in New Issue
Block a user