qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] newbie question: how to connect to a running guest wi


From: Han Han
Subject: Re: [Qemu-discuss] newbie question: how to connect to a running guest with qemu monitor
Date: Wed, 30 May 2018 18:04:28 +0800

I find your vnc of VM is open. If there is GUI in your host, you can try
virt-viewer on this host:
$ sudo virt-viewer mausdb2
Or remote-viewer:
$ remote-viewer vnc://localhost:0

On Wed, May 30, 2018 at 3:15 AM, Lentes, Bernd <
address@hidden> wrote:

> Hi,
>
> sorry for asking this propable silly question, but i googled and didn't
> find an appropriate answer.
> I have a SLES 12 SP3 host with a SLES 10 SP4 guest and some windows 7
> guests. I'd like to connect to both os when they are running..
> The command-line for the SLES 10 is:
>  ps aux|grep kvm|grep -E 'chardev|mon'
> qemu     11131  4.2 53.0 13463948 8583652 ?    Sl   May03 1605:21
> /usr/bin/qemu-system-x86_64 -machine accel=kvm -name
> guest=mausdb2,debug-threads=on -S -object secret,id=masterKey0,format=
> raw,file=/var/lib/libvirt/qemu/domain-10-mausdb2/master-key.aes -machine
> pc-i440fx-2.9,accel=kvm,usb=off,dump-guest-core=off -m 8320 -realtime
> mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 
> 5db2211a-1b91-76a1-11dd-1bf1e85ace75
> -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/
> var/lib/libvirt/qemu/domain-10-mausdb2/monitor.sock,server,nowait -mon
> chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
> -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2
> -drive file=/var/lib/libvirt/images/mausdb/mausdb.dd,format=raw,
> if=none,id=drive-virtio-disk0,cache=none -device
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-
> virtio-disk0,id=virtio-disk0,bootindex=1 -drive
> file=/mnt/idg-2/SysAdmin_AG_Wurst/software_und_treiber/
> linux/knoppix/KNOPPIX_V8.1-2017-09-05-DE.iso,format=raw,
> if=none,id=drive-ide0-0-0,readonly=on,cache=none -device
> ide-cd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2
> -netdev tap,fd=24,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,
> mac=52:54:00:37:92:aa,bus=pci.0,addr=0x3 -vnc 127.0.0.1:0 -device
> cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device 
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
> -msg timestamp=on
>
> I created the guest with virt-manager. Is there a way to connect with qemu
> to the console/GUI of a running guest ?
>
> Thanks in advance.
>
> Bernd
>
> --
>
> Bernd Lentes
> Systemadministration
> Institut für Entwicklungsgenetik
> Gebäude 35.34 - Raum 208
> HelmholtzZentrum münchen
> [ mailto:address@hidden | address@hidden
> muenchen.de ]
> phone: +49 89 3187 1241
> fax: +49 89 3187 2294
> [ http://www.helmholtz-muenchen.de/idg | http://www.helmholtz-muenchen.
> de/idg ]
>
> wer Fehler macht kann etwas lernen
> wer nichts macht kann auch nichts lernen
>
>
> Helmholtz Zentrum Muenchen
> Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
> Ingolstaedter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
> Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons
> Enhsen
> Registergericht: Amtsgericht Muenchen HRB 6466
> USt-IdNr: DE 129521671
>
>
>
>


-- 
Best regards,
-----------------------------------
Han Han
Quality Engineer
Redhat.

Email: address@hidden
Phone: +861065339333


reply via email to

[Prev in Thread] Current Thread [Next in Thread]