All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Michael Jinks <michael.jinks@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Newbie, struggling with graphics and qemu monitor
Date: Wed, 01 Jul 2009 17:50:27 +0300	[thread overview]
Message-ID: <4A4B77B3.1060403@redhat.com> (raw)
In-Reply-To: <f02c30210907010656w3fe9b60cpb6d20ba6d19e358d@mail.gmail.com>

On 07/01/2009 04:56 PM, Michael Jinks wrote:
> (Thanks Avi, and all.  Sorry if my questions are basic.  More of them below.)
>
> On Wed, Jul 1, 2009 at 3:43 AM, Avi Kivity<avi@redhat.com>  wrote:
>    
>> On 06/30/2009 09:33 PM, Michael Jinks wrote:
>>      
>>> I've looked but haven't found any way to attach a monitor process to
>>> an already-running guest.  Is this possible?  Or do we only get a
>>> monitor as a child process of the initial kvm invocation?
>>>        
>> Look up the -monitor option.
>>      
>
> Aha: I'd been looking in the "kvm" man page, which on my system looks
> a lot like, but isn't exactly like, the qemu man page.  The qemu one
> has the -monitor option.  (Is that a bug?  Should I pester the package
> maintainers for my distro?)
>
>    

No idea, really.

> But now that I've read it I don't understand it.  Quoting:
>
>         -monitor dev
>             Redirect the monitor to host device dev (same devices as the serial
>             port).  The default device is "vc" in graphical mode and "stdio" in
>             non graphical mode.
>
> On my KVM host machine, there's no /dev/vc, even though I do have one
> guest running.  I have /dev/vcs, /dev/vcs(1-12) and /dev/vcsa(1-7),
> all major number 7 and owned by the "tty" group so they look
> promising, but fuser doesn't show any of them being in use.
>
> At any rate assuming that I started up a guest with, say, "-monitor
> /dev/vcs1", how would I attach to that device afterward?  Does the kvm
> command provide a way to do it or would I use a serial port handler,
> like minicom?  Is there a default baud rate?
>    

vc is something internal to qemu (can reach it using alt-ctrl-2).  Try 
-monitor stdio or -monitor tcp::4321 (and telnet to it).

>> If you run qemu in screen, use -vnc.  X and screen don't mix.
>>      
>
> Okay, good to know.  But I'm still having the problem where vnc
> clients crash unless the guest is in text-only mode, and I assume
> that's going to be a problem when I try to install Windows guests.
>
> Here's my VNC client output from booting a Gentoo install CD,
> attaching VNC, and letting the guest boot into framebuffer mode.
> Attachment works fine but the client crashes when the framebuffer
> initializes, with "Rect too large":
>
>
>    

vnc and broken vnc clients don't mix.

> Any recommendations for clients or options to try?  Does the tightvnc
> client have known issues when attaching to a qemu server?
>    

I use vinagre.

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2009-07-01 14:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f02c30210906300835h49ac0a31xb28e538c7c0f0c4c@mail.gmail.com>
2009-06-30 16:18 ` Newbie, struggling with graphics and qemu monitor Avi Kivity
2009-06-30 16:44   ` Anthony Liguori
2009-06-30 17:11     ` Michael Jinks
2009-06-30 17:25       ` Michael Jinks
2009-06-30 18:33         ` Michael Jinks
2009-06-30 19:49           ` Charles Duffy
2009-07-01  8:43           ` Avi Kivity
2009-07-01 13:56             ` Michael Jinks
2009-07-01 14:50               ` Avi Kivity [this message]
2009-06-30 17:00   ` Michael Jinks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A4B77B3.1060403@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=michael.jinks@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.