As all virtio devices perform DMA, we
must enable bus mastering for them to be
spec compliant.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
drivers/virtio/virtio_pci.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/virtio/virtio_pci.c
On Sat, 28 Nov 2009 05:20:31 pm Amit Shah wrote:
From: Rusty Russell ru...@rustcorp.com.au
Now we can use an allocation function to remove our global console variable.
Signed-off-by: Rusty Russell ru...@rustcorp.com.au
Signed-off-by: Amit Shah amit.s...@redhat.com
---
On Sat, 28 Nov 2009 05:20:30 pm Amit Shah wrote:
Keep a list of all ports being used as a console, and provide a lock
and a lookup function. The hvc callbacks only give us a vterm number,
so we need to map this.
OK, I think we can do better than this.
How about we introduce a 'struct
On Sat, 28 Nov 2009 05:20:32 pm Amit Shah wrote:
@@ -196,7 +216,9 @@ static void virtcons_apply_config(struct virtio_device
*dev)
dev-config-get(dev,
offsetof(struct virtio_console_config, rows),
ws.ws_row,
On (Mon) Nov 30 2009 [12:20:02], Rusty Russell wrote:
On Sat, 28 Nov 2009 05:20:30 pm Amit Shah wrote:
Keep a list of all ports being used as a console, and provide a lock
and a lookup function. The hvc callbacks only give us a vterm number,
so we need to map this.
OK, I think we can do
On (Mon) Nov 30 2009 [12:27:21], Rusty Russell wrote:
On Sat, 28 Nov 2009 05:20:31 pm Amit Shah wrote:
From: Rusty Russell ru...@rustcorp.com.au
Now we can use an allocation function to remove our global console variable.
Signed-off-by: Rusty Russell ru...@rustcorp.com.au
On (Mon) Nov 30 2009 [12:39:52], Rusty Russell wrote:
On Sat, 28 Nov 2009 05:20:32 pm Amit Shah wrote:
@@ -196,7 +216,9 @@ static void virtcons_apply_config(struct virtio_device
*dev)
dev-config-get(dev,
offsetof(struct virtio_console_config,