[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev
From: |
Andrew Jones |
Subject: |
Re: [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev |
Date: |
Tue, 15 Oct 2013 10:36:19 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Oct 15, 2013 at 12:26:10PM +0530, Anup Patel wrote:
> Hi Andrew,
>
> On Mon, Oct 14, 2013 at 9:29 PM, Andrew Jones <address@hidden> wrote:
> > This is a virtio version of hw/misc/debugexit and should evolve into a
> > virtio version of pc-testdev. pc-testdev uses the PC's ISA bus, whereas
> > this testdev can be plugged into a virtio-mmio transport, which is
> > needed for kvm-unit-tests/arm. virtio-testdev uses the virtio device
> > config space as a communication channel, and implements an RTAS-like
> > protocol through it allowing guests to execute commands. Only three
> > commands are currently implemented;
> > 1) VERSION: for version compatibility checks
> > 2) CLEAR: set all the config space back to zero
> > 3) EXIT: exit() from qemu with a status code
>
> How about adding RESET command to reset the VM?
>
Hi Anup,
I'm not opposed to it, but at the moment I'm not sure how we would
utilize it within kvm-unit-tests. Maybe it would be useful for another
application though? So maybe we can add it as an add-on patch at the
time we come up with its use case?
Thanks for the review!
drew
- [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev, Andrew Jones, 2013/10/14
- Re: [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev, Anup Patel, 2013/10/15
- Re: [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev,
Andrew Jones <=
- Re: [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev, Anup Patel, 2013/10/15
- Re: [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev, Anup Patel, 2013/10/15
- Re: [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev, Peter Maydell, 2013/10/15
- Re: [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev, Gleb Natapov, 2013/10/15
- Re: [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev, Anup Patel, 2013/10/15