mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 09:55:18 +00:00
qemu: Improve error if setmem fails for lacking of balloon support
"cannot set memory of an active domain" is misleading, it sounds like setting memory of active domain is not supported.
This commit is contained in:
parent
d7f9d82753
commit
968b6c60e9
@ -2037,7 +2037,8 @@ static int qemudDomainSetMemoryFlags(virDomainPtr dom, unsigned long newmem,
|
||||
/* Lack of balloon support is a fatal error */
|
||||
if (r == 0) {
|
||||
qemuReportError(VIR_ERR_OPERATION_INVALID, "%s",
|
||||
_("cannot set memory of an active domain"));
|
||||
_("Unable to change memory of active domain without "
|
||||
"the balloon device and guest OS balloon driver"));
|
||||
goto endjob;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user