On Sun, Oct 26, 2008 at 03:29:19PM +0200, Avi Kivity wrote:
> Amit Shah wrote:
>> +#ifdef KVM_CAP_DEVICE_ASSIGNMENT
>> +int kvm_assign_pci_device(kvm_context_t kvm,
>> + struct kvm_assigned_pci_dev *assigned_dev)
>> +{
>> + return ioctl(kvm->vm_fd, KVM_ASSIGN_PCI_DEVICE, assigned_dev);
>>
>
> Convert -1s to -errno, to avoid problems with errno being
> overwritten later.
Done.
Cheers,
Muli
--
The First Workshop on I/O Virtualization (WIOV '08)
Dec 2008, San Diego, CA, http://www.usenix.org/wiov08/
<->
SYSTOR 2009---The Israeli Experimental Systems Conference
http://www.haifa.il.ibm.com/conferences/systor2009/
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html