Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- virtinst/osdict.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/virtinst/osdict.py b/virtinst/osdict.py index d83f9cef..37ad7320 100644 --- a/virtinst/osdict.py +++ b/virtinst/osdict.py @@ -491,6 +491,12 @@ class _OsVariant(object): "http://pcisig.com/pci/1af4/1044"] return bool(self._device_filter(devids=devids)) + def supports_virtioballoon(self): + # virtio-balloon and virtio1.0-balloon + devids = ["http://pcisig.com/pci/1af4/1002", + "http://pcisig.com/pci/1af4/1045"] + return bool(self._device_filter(devids=devids)) + def supports_virtioserial(self): devids = ["http://pcisig.com/pci/1af4/1003", "http://pcisig.com/pci/1af4/1043"] -- 2.21.0 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list