mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
bhyve: Implement virConnectIsEncrypted
Being a local connection, bhyve does not support encryption. Therefore trivially return 0.
This commit is contained in:
parent
90f9193cff
commit
32aa9ed3ba
@ -1522,6 +1522,13 @@ static int bhyveConnectIsAlive(virConnectPtr conn ATTRIBUTE_UNUSED)
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int
|
||||
bhyveConnectIsEncrypted(virConnectPtr conn ATTRIBUTE_UNUSED)
|
||||
{
|
||||
/* Not encrypted, but remote driver takes care of that */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static virHypervisorDriver bhyveHypervisorDriver = {
|
||||
.name = "bhyve",
|
||||
.connectOpen = bhyveConnectOpen, /* 1.2.2 */
|
||||
@ -1573,6 +1580,7 @@ static virHypervisorDriver bhyveHypervisorDriver = {
|
||||
.domainHasManagedSaveImage = bhyveDomainHasManagedSaveImage, /* 1.2.13 */
|
||||
.connectGetType = bhyveConnectGetType, /* 1.3.5 */
|
||||
.connectIsAlive = bhyveConnectIsAlive, /* 1.3.5 */
|
||||
.connectIsEncrypted = bhyveConnectIsEncrypted, /* 1.3.5 */
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user