[libvirt] [PATCH v2 4/4] qemu-command: introduce new vgamem attribute for video devices

Gerd Hoffmann kraxel at redhat.com
Fri Nov 14 15:06:45 UTC 2014


On Fr, 2014-11-14 at 14:54 +0100, Pavel Hrdina wrote:
> +        if (video->vram % 1024) {
> +            virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
> +                           "%s", _("value for 'vram' must be multiple
> of 1024"));
> +            goto error;
> +        }

pci bar size must be a power of two.  Especially the 9216 default value
libvirt fills in there is *not* valid.  This probably needs some extra
care to handle so existing guest xml files don't blow up things.

cheers,
  Gerd





More information about the libvir-list mailing list