mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
Add qxl ram size to ABI stability check
55bfd02
added a 'ram' attribute for qxl video devices
but didn't update the ABI check.
https://bugzilla.redhat.com/show_bug.cgi?id=1035123
This commit is contained in:
parent
34b8449027
commit
952ab4c993
@ -13191,6 +13191,13 @@ virDomainVideoDefCheckABIStability(virDomainVideoDefPtr src,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (src->ram != dst->ram) {
|
||||||
|
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||||
|
_("Target video card ram %u does not match source %u"),
|
||||||
|
dst->ram, src->ram);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (src->vram != dst->vram) {
|
if (src->vram != dst->vram) {
|
||||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||||
_("Target video card vram %u does not match source %u"),
|
_("Target video card vram %u does not match source %u"),
|
||||||
|
Loading…
Reference in New Issue
Block a user