Re: [PATCH qemu-kvm 2/2] device-assignment: Don't use libpci

2010-05-23 Thread Avi Kivity
On 05/21/2010 03:27 AM, Chris Wright wrote: From: Alex Williamson We've already got an open fd for PCI config space for the device, we might as well use it. This also makes sure that if we're making use of a privileged file descriptor opened for us, we use it for all accesses to the device.

Re: [PATCH qemu-kvm 2/2] device-assignment: Don't use libpci

2010-05-20 Thread Alex Williamson
On Thu, 2010-05-20 at 17:27 -0700, Chris Wright wrote: > From: Alex Williamson > > We've already got an open fd for PCI config space for the device, we > might as well use it. This also makes sure that if we're making use of > a privileged file descriptor opened for us, we use it for all accesse

[PATCH qemu-kvm 2/2] device-assignment: Don't use libpci

2010-05-20 Thread Chris Wright
From: Alex Williamson We've already got an open fd for PCI config space for the device, we might as well use it. This also makes sure that if we're making use of a privileged file descriptor opened for us, we use it for all accesses to the device. Signed-off-by: Alex Williamson [chrisw: kill p