mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fake <description> hotplug by always showing inactive domain
This commit is contained in:
parent
4d35aa2142
commit
2e9c2ff92c
@ -512,7 +512,9 @@ class vmmDomainBase(vmmLibvirtObject):
|
|||||||
return self._get_guest().clock.offset
|
return self._get_guest().clock.offset
|
||||||
|
|
||||||
def get_description(self):
|
def get_description(self):
|
||||||
return self._get_guest().description
|
# Always show the inactive <description>, let's us fake hotplug
|
||||||
|
# for a field that's strictly metadata
|
||||||
|
return self._get_guest(inactive=True).description
|
||||||
|
|
||||||
def get_memory(self):
|
def get_memory(self):
|
||||||
return int(self._get_guest().memory * 1024)
|
return int(self._get_guest().memory * 1024)
|
||||||
|
Loading…
Reference in New Issue
Block a user