I assume this is the correct list for QEMU?
I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work out how to do it. I found some suggestions about TUN/TAP on WWW. Is that the correct lines? Any pointers? Thank you, Bill
On Wed, 2007-03-07 at 16:28 +0000, William John Murray wrote:
I assume this is the correct list for QEMU?
I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work out how to do it. I found some suggestions about TUN/TAP on WWW. Is that the correct lines?
Try passing something like "-redir 2022:22" to qemu and then "ssh localhost:2022"
Cheers, Mark.
Thanks Mark, Looks like I better learn how to use qemu natively - I only used the nice gui so far. But that is essentially what I am trying to get away from. Cheers, Bill
On Wed, 2007-03-07 at 16:33 +0000, Mark McLoughlin wrote:
On Wed, 2007-03-07 at 16:28 +0000, William John Murray wrote:
I assume this is the correct list for QEMU?
I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work out how to do it. I found some suggestions about TUN/TAP on WWW. Is that the correct lines?
Try passing something like "-redir 2022:22" to qemu and then "ssh localhost:2022"
Cheers, Mark.
On Wed, 2007-03-07 at 17:17 +0000, William John Murray wrote:
Thanks Mark, Looks like I better learn how to use qemu natively - I only used the nice gui so far. But that is essentially what I am trying to get away from.
Ah, I hadn't realised you were using virt-manager ... I think et-mgmt-tools@redhat.com is the list you want.
We don't currently have support for that with QEMU, libvirt and virt-manager. I think we'll enable it in two ways:
- Allow you to specify a bridge which you can connect to, so e.g. you could connect qemu to xenbr0 and ssh to it just like a Xen guest
- Allow you to connect your QEMU guest to a virtual network[1] and then you'll automatically be able to connect to it from dom0. Longer term, we also plan to allow you to specify a DNAT mapping so that connects to a dom0 port would be re-directed to a specific ip/port on the virtual network.
Cheers, Mark.
[1] - As in http://www.gnome.org/~markmc/virtual-networking.html
On Wed, Mar 07, 2007 at 04:28:32PM +0000, William John Murray wrote:
I assume this is the correct list for QEMU?
I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work out how to do it. I found some suggestions about TUN/TAP on WWW. Is that the correct lines?
If you are using virt-manager to create QEMU instances, then we don't currently support incoming networking. The networking is setup using QEMU's SLIRP based network stack, which does NAT'd outbound connections only. Having full incoming networking will require integration with the host's networking stack - not possible for an unprivileged user at ths time. I'll have to think if there is some way we can express the port redirection that Mark suggests in libvirt/virt-manager in a sane way.
Regards, Dan.
On Wed, 2007-03-07 at 17:32 +0000, Daniel P. Berrange wrote:
On Wed, Mar 07, 2007 at 04:28:32PM +0000, William John Murray wrote:
I assume this is the correct list for QEMU?
I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work out how to do it. I found some suggestions about TUN/TAP on WWW. Is that the correct lines?
If you are using virt-manager to create QEMU instances, then we don't currently support incoming networking. The networking is setup using QEMU's SLIRP based network stack, which does NAT'd outbound connections only. Having full incoming networking will require integration with the host's networking stack - not possible for an unprivileged user at ths time. I'll have to think if there is some way we can express the port redirection that Mark suggests in libvirt/virt-manager in a sane way.
Regards, Dan.
Oh, OK. That saves me some looking! I can live without, I guess, but not running a gui in the host would save a lot of RAM. Cheers. Bill
On Wed, Mar 07, 2007 at 05:38:25PM +0000, William John Murray wrote:
On Wed, 2007-03-07 at 17:32 +0000, Daniel P. Berrange wrote:
On Wed, Mar 07, 2007 at 04:28:32PM +0000, William John Murray wrote:
I assume this is the correct list for QEMU?
I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work out how to do it. I found some suggestions about TUN/TAP on WWW. Is that the correct lines?
If you are using virt-manager to create QEMU instances, then we don't currently support incoming networking. The networking is setup using QEMU's SLIRP based network stack, which does NAT'd outbound connections only. Having full incoming networking will require integration with the host's networking stack - not possible for an unprivileged user at ths time. I'll have to think if there is some way we can express the port redirection that Mark suggests in libvirt/virt-manager in a sane way.
Regards, Dan.
Oh, OK. That saves me some looking! I can live without, I guess, but not running a gui in the host would save a lot of RAM.
There is no need to run a GUI on the host with or without direct guest SSH access. The virtual console for Xen & QEMU guests is made available via a VNC server listening on host's 127.0.0.1 address. So you can access the virtual console from a remote host by tunnelling the appropriate VNC port over SSH to the host. You can find the appropriate port by running
virsh --connect qemu:///session dumpxml <guestname> | grep vnc
Regards, Dan.