Thread (4 messages) 4 messages, 3 authors, 2012-07-29

Re: [PATCH] tcm_vhost: Expose ABI version via VHOST_SCSI_GET_ABI_VERSION

From: Avi Kivity <hidden>
Date: 2012-07-29 12:50:59
Also in: kvm, linux-scsi, qemu-devel

Possibly related (same subject, not in this thread)

On 07/26/2012 11:15 PM, Nicholas A. Bellinger wrote:
quoted
Example..?  If there is a better way to handle ioctl compat I'd
certainly like to hear about it.
r = ioctl(fd, KVM_CHECK_EXTENSION, KVM_CAP_ASSIGN_DEV_IRQ);
if (r == -1)
    ...


if (r)
    // ioctl(fd, KVM_ASSIGN_DEV_IRQ, ...) is available
else
   not available


-- 
error compiling committee.c: too many arguments to function
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help