Comment 12 for bug 1788219

Revision history for this message
Simon Poirier (simpoir) wrote :

I tested the fix against trusty, xenial, bionic and cosmic VM instances through multipass.libvirt
I set the relevant bios flags:

env EDITOR="sed -i '2i<q:commandline xmlns:q=\"http://libvirt.org/schemas/domain/qemu/1.0\"><q:arg value=\"-smbios\"/><q:arg value=\"type=1,manufacturer=Nutanix\"/><q:arg value=\"-smbios\"/><q:arg value=\"type=3,manufacturer=Red Hat\"/></q:commandline>'" multipass.virsh edit ccli
multipass stop ccli && multipass start ccli

checked dmidecode matches:
Handle 0x0100, DMI type 1, 27 bytes
System Information
        Manufacturer: Nutanix
        Product Name: Standard PC (i440FX + PIIX, 1996)
[...]
Handle 0x0300, DMI type 3, 21 bytes
Chassis Information
        Manufacturer: Red Hat
[...]

installed the packages from -proposed and registered landscape
showing vm_type as "kvm".
https://screenshots.firefox.com/IoS0unLONKmTWW2m/landscape.canonical.com