From: Anthony Liguori <anthony@codemonkey.ws>
To: Amit Shah <amit.shah@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH 2/5] virtio-console: Add support for multiple ports for generic guest-host communication
Date: Fri, 11 Sep 2009 11:38:36 -0500 [thread overview]
Message-ID: <4AAA7D0C.2020200@codemonkey.ws> (raw)
In-Reply-To: <20090911163410.GA25535@amit-x200.redhat.com>
Amit Shah wrote:
> There wasn't any consensus; the discussion just ended abruptly.
>
At least Gerd and I were in violent agreement. I don't think anyone
disagreed.
>> If a user does:
>>
>> qemu -M pc-0.11.0 -virtiocon vc -virtiocon vc
>>
>> This patch will break that guest. I think the best solution to this is
>>
>
> If there are multiple virtiocon devices specified, the first one will
> default to port #0. The second one will error out saying port 0 is
> taken. Isn't different from the current behaviour though.
>
But that's a problem for -M pc-0.11.0. We need to have a way to specify
a command line syntax with -M pc-0.11.0 such that the machine created
matches what would have been created with qemu-0.11.0. Otherwise, we
have no hope of being able to do live migration or save/restore between
versions.
>> We don't want to add PCI dependency to virtio console. It isn't always
>> used on platforms with PCI.
>>
>
> OK; there's a place where I need the qdev pointer from the PCIDevice.
> Any other way of obtaining that?
>
Why do you need the qdev pointer?
>> Need to integrate with QemuOpts.
>>
>
> Wondering if it already entered master.. I'll sync up with kraxel if
> not.
>
>
Yup, it's been there for a while.
>>> +
>>> + register_savevm("virtio-console", -1, 2, virtio_console_save, virtio_console_load, s);
>>>
>>>
>> Should integrate with VMState.
>>
>
> I don't think virtio devices have been converted yet.
>
I think that's next on Juan's list.
Regards,
Anthony Liguori
next prev parent reply other threads:[~2009-09-11 16:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-11 15:52 [Qemu-devel] Multiple ports for virtio-console Amit Shah
2009-09-11 15:52 ` [Qemu-devel] [PATCH 1/5] char: Emit 'OPENED' events on char device open Amit Shah
2009-09-11 15:52 ` [Qemu-devel] [PATCH 2/5] virtio-console: Add support for multiple ports for generic guest-host communication Amit Shah
2009-09-11 15:52 ` [Qemu-devel] [PATCH 3/5] virtio-console: Add a in-qemu api for open/read/write/close ports Amit Shah
2009-09-11 15:52 ` [Qemu-devel] [PATCH 4/5] vnc: add a is_vnc_active() helper Amit Shah
2009-09-11 15:52 ` [Qemu-devel] [PATCH 5/5] vnc: Send / receive guest clipboard if virtio-console connected to clipboard port Amit Shah
2009-09-11 16:17 ` [Qemu-devel] Re: [PATCH 2/5] virtio-console: Add support for multiple ports for generic guest-host communication Anthony Liguori
2009-09-11 16:34 ` Amit Shah
2009-09-11 16:38 ` Anthony Liguori [this message]
2009-09-11 17:30 ` Amit Shah
2009-09-11 17:34 ` Anthony Liguori
2009-09-14 7:48 ` Amit Shah
2009-09-14 7:55 ` Amit Shah
2009-09-14 12:55 ` Anthony Liguori
2009-09-14 12:58 ` Amit Shah
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=4AAA7D0C.2020200@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=amit.shah@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).