Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py
- index 78f9c7ca01..4abdb8e325 100644
- --- a/nova/virt/libvirt/driver.py
- +++ b/nova/virt/libvirt/driver.py
- @@ -4235,7 +4235,7 @@ class LibvirtDriver(driver.ComputeDriver):
- guest.add_device(consolelog)
- def _add_video_driver(self, guest, image_meta, flavor):
- - VALID_VIDEO_DEVICES = ("vga", "cirrus", "vmvga", "xen", "qxl")
- + VALID_VIDEO_DEVICES = ("vga", "cirrus", "vmvga", "xen", "qxl", "virtio")
- video = vconfig.LibvirtConfigGuestVideo()
- # NOTE(ldbragst): The following logic sets the video.type
- # depending on supported defaults given the architecture,
- @@ -4251,6 +4251,10 @@ class LibvirtDriver(driver.ComputeDriver):
- # NOTE(ldbragst): PowerKVM doesn't support 'cirrus' be default
- # so use 'vga' instead when running on Power hardware.
- video.type = 'vga'
- + elif guestarch in (arch.AARCH64):
- + # NOTE: arm64 doesn't support 'cirrus'
- + # use 'virtio-gpu' instead
- + video.type = 'virtio'
- elif CONF.spice.enabled:
- video.type = 'qxl'
- if image_meta.properties.get('hw_video_model'):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement