mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03: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)
|
||||
{
|
||||
if (virRegisterConnectDriver(&chConnectDriver, false) < 0)
|
||||
if (virRegisterConnectDriver(&chConnectDriver, true) < 0)
|
||||
return -1;
|
||||
if (virRegisterStateDriver(&chStateDriver) < 0)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user