Re: [PATCH] virtio_pci: fix macro exported in uapi

From: Rusty Russell
Date: Thu May 16 2013 - 21:15:16 EST

"Michael S. Tsirkin" <mst@xxxxxxxxxx> writes:
> macro VIRTIO_PCI_CONFIG except in the unlikely event userspace
> actually has a structure with a field named msix_enabled.
> Get the msix_enabled by value instead, to make it useful
> for userspace.
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>

Macro still isn't usable, because userspace can't know whether it's the
new or old.

We need to either remove it from UAPI, or rename it to

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at