From: Kusanagi Kouichi <slash@ac.auone-net.jp>
To: Amit Shah <amit.shah@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2/2] virtio-console: Notify resize to the guest.
Date: Thu, 29 Apr 2010 21:36:30 +0900 [thread overview]
Message-ID: <20100429123631.130366AC03A@msa102.auone-net.jp> (raw)
In-Reply-To: <20100429104718.GB21309@amit-x200.redhat.com>
On 2010-04-29 16:17:18 +0530, Amit Shah wrote:
> On (Thu) Apr 29 2010 [16:12:38], Kusanagi Kouichi wrote:
> > On 2010-04-16 18:32:19 +0530, Amit Shah wrote:
> > > On (Fri) Apr 16 2010 [20:42:47], Kusanagi Kouichi wrote:
> > > >
> > > > Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
> > > > ---
> > > > hw/virtio-console.c | 3 +++
> > > > hw/virtio-serial-bus.c | 8 ++++++++
> > > > hw/virtio-serial.h | 9 +++++++--
> > > > 3 files changed, 18 insertions(+), 2 deletions(-)
> > >
> > > Hello,
> > >
> > > The patches look good. How did you test them?
> > >
> > > Just one comment here:
> > >
> > > > diff --git a/hw/virtio-serial-bus.c b/hw/virtio-serial-bus.c
> > > > index 17c1ec1..66891ee 100644
> > > > --- a/hw/virtio-serial-bus.c
> > > > +++ b/hw/virtio-serial-bus.c
> > > > @@ -163,6 +163,13 @@ int virtio_serial_close(VirtIOSerialPort *port)
> > > > return 0;
> > > > }
> > > >
> > > > +void virtio_serial_resize(VirtIOSerialPort *port, int rows, int cols)
> > >
> > > Would virtio_serial_resize_console() be better, since this is only to be
> > > used for console ports?
> > >
> >
> > It is better, I think. I will update the patch. Thanks.
>
> Thanks.
>
> Please include me in the CC when you send it. Also please mention how
> you test this feature.
>
> Amit
I put printf()s into involved functions. Then ran qemu on a terminal
emulator, and resized it.
That's how I did. Is this what you need?
next prev parent reply other threads:[~2010-04-29 12:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 11:42 [Qemu-devel] [PATCH 2/2] virtio-console: Notify resize to the guest Kusanagi Kouichi
2010-04-16 13:02 ` Amit Shah
2010-04-29 7:12 ` Kusanagi Kouichi
2010-04-29 10:47 ` Amit Shah
2010-04-29 12:36 ` Kusanagi Kouichi [this message]
2010-04-29 12:49 ` Amit Shah
2010-04-30 8:12 ` [Qemu-devel] [PATCH v2 " Kusanagi Kouichi
2010-04-30 10:43 ` [Qemu-devel] " Amit Shah
2010-05-03 4:58 ` [Qemu-devel] [PATCH v3 " Kusanagi Kouichi
2010-05-03 6:37 ` [Qemu-devel] " Amit Shah
-- strict thread matches above, loose matches on Subject: below --
2010-05-03 6:36 [Qemu-devel] [PATCH 1/2] char: Handle resize Amit Shah
2010-05-03 6:36 ` [Qemu-devel] [PATCH 2/2] virtio-console: Notify resize to the guest 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=20100429123631.130366AC03A@msa102.auone-net.jp \
--to=slash@ac.auone-net.jp \
--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).