[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC][PATCH v3 00/21] virtproxy: host/guest communicati
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [RFC][PATCH v3 00/21] virtproxy: host/guest communication layer |
Date: |
Tue, 16 Nov 2010 21:57:35 +0000 |
On Tue, Nov 16, 2010 at 1:15 AM, Michael Roth <address@hidden> wrote:
Some basic questions from someone who has never used virtio-serial:
> EXAMPLE USAGE:
>
> note: oforward/iforward chardev options have not yet been converted over from
> original standalone host daemon implementation so this won't work till then.
> The examples however have been updated for reference.
>
> - Proxy http and ssh connections from a host to a guest over a virtio-serial
> connection:
> # start guest with virtio-serial. for example (RHEL6s13):
> qemu \
> -device virtio-serial \
> -chardev virtproxy,id=test0, \
> oforward=http:127.0.0.1:9080,oforward=ssh:127.0.0.1:22 \
> -device virtconsole,chardev=test0,name=test0 \
> ...
Is virtconsole just a way of throwing something on the virtio-serial
bus? A quick peek at hw/virtio-console.c suggests "virtserialport"
could also be used (and would be more intuitive because we don't want
a console, just a serial port)?
> # in the guest:
> ./qemu-vp -c virtserial-open:/dev/virtio-ports/test2:- -i
> http:127.0.0.1:80 \
> -i ssh:127.0.0.1:22
name=test0 above. Is this a typo or where does test2 come from?
What does "virtserial-open" mean? Why not
virtio-serial:/dev/virtio-ports/test2 to match the "-device
virtio-serial" above? Virtio has a naming issue, every implementation
names things slightly differently :).
> # from host, access guest http server
> wget http://locahost:9080
> # from host, access guest ssh server
> ssh localhost -p 9022
I don't see 9022 above, should it have been "oforward=ssh:127.0.0.1:9022"?
Stefan
- Re: [Qemu-devel] [RFC][PATCH v3 11/21] virtproxy: add handler for control packet, (continued)
- [Qemu-devel] [RFC][PATCH v3 16/21] virtproxy: add option parser helper vp_parse(), Michael Roth, 2010/11/15
- [Qemu-devel] [RFC][PATCH v3 17/21] virtproxy: add virtproxy-builtin.c for compat defs, Michael Roth, 2010/11/15
- [Qemu-devel] [RFC][PATCH v3 18/21] virtproxy: qemu integration, add virtproxy chardev, Michael Roth, 2010/11/15
- [Qemu-devel] [RFC][PATCH v3 21/21] virtproxy: Makefile/configure changes to build qemu-vp, Michael Roth, 2010/11/15
- [Qemu-devel] [RFC][PATCH v3 19/21] virtproxy: qemu integration, add virtproxy to Makefile.targets, Michael Roth, 2010/11/15
- [Qemu-devel] [RFC][PATCH v3 20/21] virtproxy: qemu-vp, main logic, Michael Roth, 2010/11/15
- Re: [Qemu-devel] [RFC][PATCH v3 00/21] virtproxy: host/guest communication layer,
Stefan Hajnoczi <=