search for: virtio_mmio_guest_features_set

Displaying 6 results from an estimated 6 matches for "virtio_mmio_guest_features_set".

2011 Nov 15
1
[PATCH] virtio-mmio: Correct the name of the guest features selector
...ons(-) diff --git a/include/linux/virtio_mmio.h b/include/linux/virtio_mmio.h index 27c7ede..5c7b6f0 100644 --- a/include/linux/virtio_mmio.h +++ b/include/linux/virtio_mmio.h @@ -63,7 +63,7 @@ #define VIRTIO_MMIO_GUEST_FEATURES 0x020 /* Activated features set selector - Write Only */ -#define VIRTIO_MMIO_GUEST_FEATURES_SET 0x024 +#define VIRTIO_MMIO_GUEST_FEATURES_SEL 0x024 /* Guest's memory page size in bytes - Write Only */ #define VIRTIO_MMIO_GUEST_PAGE_SIZE 0x028 -- 1.7.8.rc1
2011 Nov 15
1
[PATCH] virtio-mmio: Correct the name of the guest features selector
...ons(-) diff --git a/include/linux/virtio_mmio.h b/include/linux/virtio_mmio.h index 27c7ede..5c7b6f0 100644 --- a/include/linux/virtio_mmio.h +++ b/include/linux/virtio_mmio.h @@ -63,7 +63,7 @@ #define VIRTIO_MMIO_GUEST_FEATURES 0x020 /* Activated features set selector - Write Only */ -#define VIRTIO_MMIO_GUEST_FEATURES_SET 0x024 +#define VIRTIO_MMIO_GUEST_FEATURES_SEL 0x024 /* Guest's memory page size in bytes - Write Only */ #define VIRTIO_MMIO_GUEST_PAGE_SIZE 0x028 -- 1.7.8.rc1
2011 Oct 27
1
[PATCH v3] virtio: Add platform bus driver for memory mapped virtio device
On Mon, 2011-10-24 at 03:33 +0100, Rusty Russell wrote: > No, that's it I think. Please send a diff for the documentation, since > I'm updating the LyX master and I've already applied your previous > version. Here it goes (below). Also do you think you would be able to merge the driver (corresponding v4 patch follows) in the 3.2 merge window that seems to have just opened?
2011 Oct 27
1
[PATCH v3] virtio: Add platform bus driver for memory mapped virtio device
On Mon, 2011-10-24 at 03:33 +0100, Rusty Russell wrote: > No, that's it I think. Please send a diff for the documentation, since > I'm updating the LyX master and I've already applied your previous > version. Here it goes (below). Also do you think you would be able to merge the driver (corresponding v4 patch follows) in the 3.2 merge window that seems to have just opened?
2011 Nov 15
2
[RFC] kvm tools: Add support for virtio-mmio
...io_ops->get_config(vmmio->kvm, vmmio->dev, addr + i); + } +} + +static void virtio_mmio__config_out(u64 addr, void *data, u32 len, struct virtio_trans *vtrans) +{ + struct virtio_mmio *vmmio = vtrans->virtio; + u32 val = 0; + + switch(addr) { + case VIRTIO_MMIO_HOST_FEATURES_SEL: + case VIRTIO_MMIO_GUEST_FEATURES_SET: + case VIRTIO_MMIO_GUEST_PAGE_SIZE: + case VIRTIO_MMIO_QUEUE_SEL: + case VIRTIO_MMIO_QUEUE_NUM: + case VIRTIO_MMIO_QUEUE_ALIGN: + case VIRTIO_MMIO_STATUS: + *(u32 *)(((void *)&vmmio->hdr) + addr) = ioport__read32(data); + break; + case VIRTIO_MMIO_GUEST_FEATURES: + if (vmmio->hdr.gues...
2011 Nov 15
2
[RFC] kvm tools: Add support for virtio-mmio
...io_ops->get_config(vmmio->kvm, vmmio->dev, addr + i); + } +} + +static void virtio_mmio__config_out(u64 addr, void *data, u32 len, struct virtio_trans *vtrans) +{ + struct virtio_mmio *vmmio = vtrans->virtio; + u32 val = 0; + + switch(addr) { + case VIRTIO_MMIO_HOST_FEATURES_SEL: + case VIRTIO_MMIO_GUEST_FEATURES_SET: + case VIRTIO_MMIO_GUEST_PAGE_SIZE: + case VIRTIO_MMIO_QUEUE_SEL: + case VIRTIO_MMIO_QUEUE_NUM: + case VIRTIO_MMIO_QUEUE_ALIGN: + case VIRTIO_MMIO_STATUS: + *(u32 *)(((void *)&vmmio->hdr) + addr) = ioport__read32(data); + break; + case VIRTIO_MMIO_GUEST_FEATURES: + if (vmmio->hdr.gues...