mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
Parallels: add virNodeGetCPUMap().
That function caused errors in libvirtd logs when OpenStack Nova starts VM instance. Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
1b5cff867d
commit
75210ef0a3
@ -2417,6 +2417,16 @@ parallelsDomainGetVcpus(virDomainPtr domain,
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
parallelsNodeGetCPUMap(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
unsigned char **cpumap,
|
||||
unsigned int *online,
|
||||
unsigned int flags)
|
||||
{
|
||||
return nodeGetCPUMap(cpumap, online, flags);
|
||||
}
|
||||
|
||||
|
||||
static virDriver parallelsDriver = {
|
||||
.no = VIR_DRV_PARALLELS,
|
||||
.name = "Parallels",
|
||||
@ -2448,6 +2458,7 @@ static virDriver parallelsDriver = {
|
||||
.domainShutdown = parallelsDomainShutdown, /* 0.10.0 */
|
||||
.domainCreate = parallelsDomainCreate, /* 0.10.0 */
|
||||
.domainDefineXML = parallelsDomainDefineXML, /* 0.10.0 */
|
||||
.nodeGetCPUMap = parallelsNodeGetCPUMap, /* 1.2.8 */
|
||||
.connectIsEncrypted = parallelsConnectIsEncrypted, /* 1.2.5 */
|
||||
.connectIsSecure = parallelsConnectIsSecure, /* 1.2.5 */
|
||||
.connectIsAlive = parallelsConnectIsAlive, /* 1.2.5 */
|
||||
|
Loading…
Reference in New Issue
Block a user