[CentOS-virt] Installing support for q35 chipset

Mon Jun 25 03:11:36 UTC 2018
admin at siegel-tech.net <admin at siegel-tech.net>

Hello

I have recently had to reinstall Centos 7.5 to on host computer. I have 
not be able to set-up qemu to support the q35 chip set.  I have several 
virtual machines that require q35. This is not my first install, I have 
configured libvirt on many machines in the past, it just worked, it has 
not required any manual configuration.

[root at sj aadmin]# /usr/libexec/qemu-kvm -machine help
Supported machines are:
none                 empty machine
pc                   RHEL 7.0.0 PC (i440FX + PIIX, 1996) (alias of 
pc-i440fx-rhel7.0.0)
pc-i440fx-rhel7.0.0  RHEL 7.0.0 PC (i440FX + PIIX, 1996) (default)
rhel6.6.0            RHEL 6.6.0 PC
rhel6.5.0            RHEL 6.5.0 PC
rhel6.4.0            RHEL 6.4.0 PC
rhel6.3.0            RHEL 6.3.0 PC
rhel6.2.0            RHEL 6.2.0 PC
rhel6.1.0            RHEL 6.1.0 PC
rhel6.0.0            RHEL 6.0.0 PC


I have add the jenkins repository. and installed the following packages,

OVMF.noarch                             20171011-4.git92d07e48907f.el7 
@base
edk2.git.x86_64                         0-20180612.181.g2aedaaef8a     
@qemu-firmware-jenkins
edk2.git-aarch64.noarch                 0-20180612.181.g2aedaaef8a     
@qemu-firmware-jenkins
edk2.git-arm.noarch                     0-20180612.181.g2aedaaef8a     
@qemu-firmware-jenkins
edk2.git-ovmf-x64.noarch                0-20180612.181.g2aedaaef8a     
@qemu-firmware-jenkins
edk2.git-tools.x86_64                   0-20180612.181.g2aedaaef8a     
@qemu-firmware-jenkins
coreboot.git.x86_64                     4.8-599.333.g1bf411c743        
@qemu-firmware-jenkins
coreboot.git-tools.x86_64               4.8-599.333.g1bf411c743        
@qemu-firmware-jenkins
qemu-common.x86_64                      2:2.0.0-1.el7.6                
@epel
qemu-guest-agent.x86_64                 10:2.8.0-2.el7                 
@anaconda
qemu-img.x86_64                         10:1.5.3-156.el7_5.2           
@updates
qemu-kvm.x86_64                         10:1.5.3-156.el7_5.2           
@updates
qemu-kvm-common.x86_64                  10:1.5.3-156.el7_5.2           
@updates
qemu-kvm-tools.x86_64                   10:1.5.3-156.el7_5.2           
@updates
qemu-system-alpha.x86_64                2:2.0.0-1.el7.6                
@epel
qemu-system-arm.x86_64                  2:2.0.0-1.el7.6                
@epel
qemu-system-cris.x86_64                 2:2.0.0-1.el7.6                
@epel
qemu-system-lm32.x86_64                 2:2.0.0-1.el7.6                
@epel
qemu-system-m68k.x86_64                 2:2.0.0-1.el7.6                
@epel
qemu-system-microblaze.x86_64           2:2.0.0-1.el7.6                
@epel
qemu-system-mips.x86_64                 2:2.0.0-1.el7.6                
@epel
qemu-system-moxie.x86_64                2:2.0.0-1.el7.6                
@epel
qemu-system-or32.x86_64                 2:2.0.0-1.el7.6                
@epel
qemu-system-s390x.x86_64                2:2.0.0-1.el7.6                
@epel
qemu-system-sh4.x86_64                  2:2.0.0-1.el7.6                
@epel
qemu-system-unicore32.x86_64            2:2.0.0-1.el7.6                
@epel
qemu-system-x86.x86_64                  2:2.0.0-1.el7.6                
@epel
qemu-system-xtensa.x86_64               2:2.0.0-1.el7.6                
@epel
qemu-user.x86_64                        2:2.0.0-1.el7.6                
@epel
seabios.git.x86_64                      1.11.0-40.27.gd9a8b86          
@qemu-firmware-jenkins

I have installed the  Virtualization Host group. Configured the nvram in 
the /etc/libvirt/qemu.conf, I even used the same copy from a previous 
installation.

nvram = [
    "/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd",
    
"/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd:/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd"
]


Thank you
Aaron