mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
* src/libvirt.c: virDomainSetSchedulerParameters need to be
blocked on read-only connections, patch from Saori Fukuta Daniel
This commit is contained in:
parent
dc232cdf1b
commit
adbf991a1d
@ -1,3 +1,8 @@
|
|||||||
|
Thu Mar 13 10:24:45 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/libvirt.c: virDomainSetSchedulerParameters need to be
|
||||||
|
blocked on read-only connections, patch from Saori Fukuta
|
||||||
|
|
||||||
Thu Mar 13 10:19:16 CET 2008 Daniel Veillard <veillard@redhat.com>
|
Thu Mar 13 10:19:16 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* src/bridge.c src/virsh.c: typo fixes from Atsushi SAKAI
|
* src/bridge.c src/virsh.c: typo fixes from Atsushi SAKAI
|
||||||
|
@ -2447,6 +2447,10 @@ virDomainSetSchedulerParameters(virDomainPtr domain,
|
|||||||
virLibDomainError(NULL, VIR_ERR_INVALID_DOMAIN, __FUNCTION__);
|
virLibDomainError(NULL, VIR_ERR_INVALID_DOMAIN, __FUNCTION__);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
if (domain->conn->flags & VIR_CONNECT_RO) {
|
||||||
|
virLibDomainError(domain, VIR_ERR_OPERATION_DENIED, __FUNCTION__);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
conn = domain->conn;
|
conn = domain->conn;
|
||||||
|
|
||||||
if (conn->driver->domainSetSchedulerParameters)
|
if (conn->driver->domainSetSchedulerParameters)
|
||||||
|
Loading…
Reference in New Issue
Block a user