From: Paolo Bonzini <pbonzini@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: Libvirt <libvir-list@redhat.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [libvirt] libvirt doesn't work with qemu 1.0
Date: Thu, 26 Jan 2012 14:00:50 +0100 [thread overview]
Message-ID: <4F214E82.10100@redhat.com> (raw)
In-Reply-To: <4F214B09.20504@redhat.com>
On 01/26/2012 01:46 PM, Eric Blake wrote:
> On 01/26/2012 02:41 AM, Paolo Bonzini wrote:
>> On 01/26/2012 04:55 AM, Eric Blake wrote:
>>>
>>> $ /usr/libexec/qemu-kvm -qmp stdio -S -display none
>>> qemu-kvm: -display: invalid option
>>> $ /usr/libexec/qemu-kvm -qmp stdio -S -nographic
>>> chardev: opening backend "stdio" failed
>>> qemu: could not open serial device 'stdio': Argument list too long
>>
>> Have you tried -nodefaults?
>
> Just did. It still spawns a VNC server.
>
> $ (sleep .1; printf
> '{"execute":"qmp_capabilities"}\n{"execute":"quit"}\n') |\
> /usr/libexec/qemu-kvm -qmp stdio -S -nodefaults
> VNC server running on `127.0.0.1:5902'
> {"QMP": {"version": {"qemu": {"micro": 1, "minor": 12, "major": 0},
> "package": "(qemu-kvm-0.12.1.2)"}, "capabilities": []}}
> {"return": {}}
> {"return": {}}
> {"timestamp": {"seconds": 1327581922, "microseconds": 434736}, "event":
> "SHUTDOWN"}
What about both? :)
$ (sleep .1; echo $'{"execute":"qmp_capabilities"}\n{"execute":"quit"}') | \
/usr/libexec/qemu-kvm -qmp stdio -S -nographic -nodefaults
{"QMP": {"version": {"qemu": {"micro": 1, "minor": 12, "major": 0}, "package": "(qemu-kvm-0.12.1.2)"}, "capabilities": []}}
{"return": {}}
{"return": {}}
{"timestamp": {"seconds": 1327582368, "microseconds": 685740}, "event": "SHUTDOWN"}
(I was a bit too terse, -nodefaults is a way to fix the error message,
not the whole mess).
Paolo
next prev parent reply other threads:[~2012-01-26 13:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 14:21 [Qemu-devel] libvirt doesn't work with qemu 1.0 Gerd Hoffmann
2011-12-02 14:50 ` Anthony Liguori
2011-12-02 15:08 ` Jiri Denemark
2011-12-02 15:15 ` Anthony Liguori
2011-12-02 19:29 ` [Qemu-devel] [libvirt] " Eric Blake
2011-12-02 20:32 ` Anthony Liguori
2012-01-26 3:55 ` Eric Blake
2012-01-26 9:41 ` Paolo Bonzini
2012-01-26 10:55 ` Markus Armbruster
2012-01-26 12:46 ` Eric Blake
2012-01-26 13:00 ` Paolo Bonzini [this message]
2012-01-26 19:23 ` Luiz Capitulino
2011-12-02 18:53 ` Dave Allan
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=4F214E82.10100@redhat.com \
--to=pbonzini@redhat.com \
--cc=eblake@redhat.com \
--cc=libvir-list@redhat.com \
--cc=qemu-devel@nongnu.org \
/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.