added new IBM Power KVM guest recognisation (#35169)
Signed-off-by: Toshaan Bharvani <tab@toshaan.com>
This commit is contained in:
parent
1ac715987b
commit
87e82be09f
1 changed files with 2 additions and 0 deletions
|
@ -160,6 +160,8 @@ class LinuxVirtual(Virtual):
|
||||||
virtual_facts['virtualization_type'] = 'uml'
|
virtual_facts['virtualization_type'] = 'uml'
|
||||||
elif re.match('^model name.*UML', line):
|
elif re.match('^model name.*UML', line):
|
||||||
virtual_facts['virtualization_type'] = 'uml'
|
virtual_facts['virtualization_type'] = 'uml'
|
||||||
|
elif re.match('^machine.*CHRP IBM pSeries .emulated by qemu.', line):
|
||||||
|
virtual_facts['virtualization_type'] = 'kvm'
|
||||||
elif re.match('^vendor_id.*PowerVM Lx86', line):
|
elif re.match('^vendor_id.*PowerVM Lx86', line):
|
||||||
virtual_facts['virtualization_type'] = 'powervm_lx86'
|
virtual_facts['virtualization_type'] = 'powervm_lx86'
|
||||||
elif re.match('^vendor_id.*IBM/S390', line):
|
elif re.match('^vendor_id.*IBM/S390', line):
|
||||||
|
|
Loading…
Reference in a new issue