[Libvirt Users]how to provide password authentication for qemu driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dell Customer Communication

Hi All,

 

I am using

 

Compiled against library: libvirt 1.2.9

Using library: libvirt 1.2.9

Using API: QEMU 1.2.9

Running hypervisor: QEMU 2.1.2

 

I want user to provide username and password authentication to virConnectPtr

virConnectOpenAuth(const char *name,

                   virConnectAuthPtr auth,

                   unsigned int flags)  to login remotely for the qemu hypervisor.

 

But it is not taking user provided username and driver. Because internally it is calling below qemu driver function,

 

static virDrvOpenStatus qemuConnectOpen(virConnectPtr conn,

                                        virConnectAuthPtr auth ATTRIBUTE_UNUSED,

                                        unsigned int flags)

 

so it is not taking any user provided auth parameters and it is internally calling separate function for prompting password. I don’t want to provide password here.

In case of windows HyperV it is working fine as it takes auth parameters  but for Qemu Hypervisor I am facing this issue since here the auth parameters as marked as ATTRIBUTE_UNUSED.

 

Can anyone help me with this that how can I achieve this?

 

Thanks & Regards,

Dhaval Shah

 

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux