[libvirt] [PATCH 4/4] qemu_hostdev: Add support to install port profile and mac address on hostdevs

2012-03-04 Thread Roopa Prabhu
From: Roopa Prabhu ropra...@cisco.com These changes are applied only if the hostdev has a parent net device. If the parent netdevice has virtual port information, the original virtualport associate functions are called (these set and restore both mac and port profile on an interface). Else, only

[libvirt] [PATCH 0/4] Support mac and port profile for interface type='hostdev'

2012-03-04 Thread Roopa Prabhu
v2: changes include: - feedback from stefan for 802.1Qbg. Code now prints an error if virtualport is specified for 802.1Qbg on an interface of type hostdev - feedback from laine for non-sriov devices. Interface type hostdev for non-sriov devices is not supported. v1:

[libvirt] [PATCH 1/4] pci: Add two new pci utils pciDeviceGetVirtualFunctionInfo and pciConfigAddressToSysfsFile

2012-03-04 Thread Roopa Prabhu
From: Roopa Prabhu ropra...@cisco.com pciDeviceGetVirtualFunctionInfo returns pf netdevice name and virtual function index for a given vf. This is just a wrapper around existing functions to return vf's pf and vf_index with one api call pciConfigAddressToSysfsfile returns the sysfile pci device

[libvirt] [PATCH 3/4] virnetdevvportprofile: Changes to support portprofiles for hostdevs

2012-03-04 Thread Roopa Prabhu
From: Roopa Prabhu ropra...@cisco.com This patch includes the following changes - removes some netlink functions which are now available in virnetdev.c - Adds a vf argument to all port profile functions For 802.1Qbh devices, the port profile calls can use a vf argument if passed by the caller.

[libvirt] [PATCH 2/4] virtnetdev: Add support functions for mac and portprofile associations on a hostdev

2012-03-04 Thread Roopa Prabhu
From: Roopa Prabhu ropra...@cisco.com This patch adds the following: - functions to set and get vf configs - Functions to replace and store vf configs (Only mac address is handled today. But the functions can be easily extended for vlans and other vf configs) - function to dump link dev info

[libvirt] Can't connect ESXi ssl with virsh

2012-03-04 Thread Zhimou Peng
Hi, I try to use virsh connect ESXi5.0 with ssl [root@zheng ~]# virsh -c esx://10.66.6.211/ Enter username for 10.66.6.211 [root]: Enter root's password for 10.66.6.211: error: internal error curl_easy_perform() returned an error: Peer certificate cannot be authenticated with known CA

Re: [libvirt] Can't connect ESXi ssl with virsh

2012-03-04 Thread Hu Tao
On Mon, Mar 05, 2012 at 02:04:05AM -0500, Zhimou Peng wrote: Hi, I try to use virsh connect ESXi5.0 with ssl [root@zheng ~]# virsh -c esx://10.66.6.211/ Enter username for 10.66.6.211 [root]: Enter root's password for 10.66.6.211: error: internal error curl_easy_perform() returned an

Re: [libvirt] Can't connect ESXi ssl with virsh

2012-03-04 Thread Zhimou Peng
Ehh. Not familiar with it. Can you give me one example? - Original Message - From: Hu Tao hu...@cn.fujitsu.com To: Zhimou Peng zhp...@redhat.com Cc: libvir-list@redhat.com, Tingting Zheng tzh...@redhat.com Sent: Monday, March 5, 2012 3:22:22 PM Subject: Re: [libvirt] Can't connect

Re: [libvirt] Can't connect ESXi ssl with virsh

2012-03-04 Thread Zhimou Peng
And my CA is also my client in this case. - Original Message - From: Zhimou Peng zhp...@redhat.com To: Hu Tao hu...@cn.fujitsu.com Cc: libvir-list@redhat.com, Tingting Zheng tzh...@redhat.com Sent: Monday, March 5, 2012 3:42:38 PM Subject: Re: [libvirt] Can't connect ESXi ssl with virsh