mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
ch: set shared drivers
We want to use those shared drivers provided by libvirt to avoid implementing our own. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
parent
da53324a79
commit
619968a680
@ -929,7 +929,7 @@ static virStateDriver chStateDriver = {
|
|||||||
|
|
||||||
int chRegister(void)
|
int chRegister(void)
|
||||||
{
|
{
|
||||||
if (virRegisterConnectDriver(&chConnectDriver, false) < 0)
|
if (virRegisterConnectDriver(&chConnectDriver, true) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
if (virRegisterStateDriver(&chStateDriver) < 0)
|
if (virRegisterStateDriver(&chStateDriver) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user