From: Alon Levy <alevy@redhat.com>
To: Amit Shah <amit.shah@redhat.com>
Cc: qemu list <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 0/4] virtio-serial: Rework, fix post_load code
Date: Thu, 13 Dec 2012 05:46:04 -0500 (EST) [thread overview]
Message-ID: <1437710917.47097439.1355395564564.JavaMail.root@redhat.com> (raw)
In-Reply-To: <cover.1355394885.git.amit.shah@redhat.com>
All looks good.
Reviewed-by: Alon Levy <alevy@redhat.com>
----- Original Message -----
> This series reworks the post_load code recently introduced to
> allocate
> the structures only when required (i.e. only at load time). This
> helps keep the VirtIOSerial struct clean, and use less RAM.
>
> Also rearrange the code in virtio_serial_load() for easier
> readability.
>
> Patch 4 fixes a race with the timer going off after a device got
> hot-unplugged, and patch 1 uses unsigned int (uint32_t) type to count
> ports, as in the rest of the code.
>
> Please review.
>
> Amit Shah (4):
> virtio-serial: use uint32_t to count ports
> virtio-serial: move active ports loading to separate function
> virtio-serial: allocate post_load only at load-time
> virtio-serial: delete timer if active during exit
>
> hw/virtio-serial-bus.c | 150
> +++++++++++++++++++++++++++++--------------------
> 1 file changed, 89 insertions(+), 61 deletions(-)
>
> --
> 1.8.0.2
>
>
prev parent reply other threads:[~2012-12-13 10:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-13 10:37 [Qemu-devel] [PATCH 0/4] virtio-serial: Rework, fix post_load code Amit Shah
2012-12-13 10:37 ` [Qemu-devel] [PATCH 1/4] virtio-serial: use uint32_t to count ports Amit Shah
2012-12-14 5:18 ` Rob Landley
2012-12-13 10:37 ` [Qemu-devel] [PATCH 2/4] virtio-serial: move active ports loading to separate function Amit Shah
2012-12-13 10:37 ` [Qemu-devel] [PATCH 3/4] virtio-serial: allocate post_load only at load-time Amit Shah
2012-12-13 10:37 ` [Qemu-devel] [PATCH 4/4] virtio-serial: delete timer if active during exit Amit Shah
2012-12-13 10:46 ` Alon Levy [this message]
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=1437710917.47097439.1355395564564.JavaMail.root@redhat.com \
--to=alevy@redhat.com \
--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).