* [Qemu-devel] [PATCH 0/5] for spice post load char device hook
@ 2013-03-20 9:48 Alon Levy
2013-03-20 9:56 ` Alon Levy
0 siblings, 1 reply; 2+ messages in thread
From: Alon Levy @ 2013-03-20 9:48 UTC (permalink / raw)
To: qemu-devel; +Cc: amit.shah, hdegoede, aliguori, kraxel
This reworks my former patch (http://patchwork.ozlabs.org/patch/227678/ - sorry
Hans, can't find the version you posted) per Gerd's suggestion. Specifically it
adds a new qemu_chr_fe_post_load api that is called by the front end and
implemented by the backend. virtio-console implements it, adding it's own hook
which is called by virtio-serial-bus upon post_load from the timer, so that
qemu_chr_fe_post_load is called when the vm is already in the running state.
This makes the spice-qemu-char usage very simple by not requiring yet another
timer.
Alon Levy (5):
char: add a post_load callback
merge to char.h
virtio-serial: add a post_load callback implemented by port
virtio-console: implement post_load to call to qemu_chr_fe_post_load
spice-qemu-char: register interface on post load
hw/virtio-console.c | 11 +++++++++++
hw/virtio-serial-bus.c | 5 +++++
hw/virtio-serial.h | 2 ++
include/char/char.h | 9 +++++++++
qemu-char.c | 7 +++++++
spice-qemu-char.c | 9 +++++++++
6 files changed, 43 insertions(+)
--
1.8.1.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH 0/5] for spice post load char device hook
2013-03-20 9:48 [Qemu-devel] [PATCH 0/5] for spice post load char device hook Alon Levy
@ 2013-03-20 9:56 ` Alon Levy
0 siblings, 0 replies; 2+ messages in thread
From: Alon Levy @ 2013-03-20 9:56 UTC (permalink / raw)
To: qemu-devel; +Cc: amit shah, hdegoede, aliguori, kraxel
Please ignore this email, sent before I remembered to squash one of the patches.
> This reworks my former patch
> (http://patchwork.ozlabs.org/patch/227678/ - sorry
> Hans, can't find the version you posted) per Gerd's suggestion.
> Specifically it
> adds a new qemu_chr_fe_post_load api that is called by the front end
> and
> implemented by the backend. virtio-console implements it, adding it's
> own hook
> which is called by virtio-serial-bus upon post_load from the timer,
> so that
> qemu_chr_fe_post_load is called when the vm is already in the running
> state.
> This makes the spice-qemu-char usage very simple by not requiring yet
> another
> timer.
>
> Alon Levy (5):
> char: add a post_load callback
> merge to char.h
> virtio-serial: add a post_load callback implemented by port
> virtio-console: implement post_load to call to
> qemu_chr_fe_post_load
> spice-qemu-char: register interface on post load
>
> hw/virtio-console.c | 11 +++++++++++
> hw/virtio-serial-bus.c | 5 +++++
> hw/virtio-serial.h | 2 ++
> include/char/char.h | 9 +++++++++
> qemu-char.c | 7 +++++++
> spice-qemu-char.c | 9 +++++++++
> 6 files changed, 43 insertions(+)
>
> --
> 1.8.1.4
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-20 9:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20 9:48 [Qemu-devel] [PATCH 0/5] for spice post load char device hook Alon Levy
2013-03-20 9:56 ` Alon Levy
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).