qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 3b5704: monitor: Make client_migrate_info syn


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 3b5704: monitor: Make client_migrate_info synchronous
Date: Tue, 28 Apr 2015 02:30:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 3b5704b2f80189b2f9fdddf1690998e566eeacab
      
https://github.com/qemu/qemu/commit/3b5704b2f80189b2f9fdddf1690998e566eeacab
  Author: Markus Armbruster <address@hidden>
  Date:   2015-04-27 (Mon, 27 Apr 2015)

  Changed paths:
    M hmp-commands.hx
    M include/ui/qemu-spice.h
    M monitor.c
    M qmp-commands.hx
    M ui/spice-core.c

  Log Message:
  -----------
  monitor: Make client_migrate_info synchronous

Live migration with spice works like this today:

  (1) client_migrate_info monitor cmd
  (2) spice server notifies client, client connects to target host.
  (3) qemu waits until spice client connect is finished.
  (4) send over vmstate (i.e. main part of live migration).
  (5) spice handover to target host.

(3) is implemented by making client_migrate_info a async monitor
command.  This is the only async monitor command we have.

The original reason to implement this dance was that qemu did not accept
new tcp connections while the incoming migration was running, so (2) and
(4) could not be done in parallel.  That issue was fixed long ago though.
Qemu version 1.3.0 (released Dec 2012) and newer happily accept tcp
connects while the incoming migration runs.

Time to drop step (3).  This patch does exactly that, by making the
monitor command synchronous and removing the code needed to handle the
async monitor command in ui/spice-core.c

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c1d37cd353be3ea4c5773fc227ba8459c1f20470
      
https://github.com/qemu/qemu/commit/c1d37cd353be3ea4c5773fc227ba8459c1f20470
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-04-27 (Mon, 27 Apr 2015)

  Changed paths:
    M include/ui/qemu-pixman.h
    M ui/spice-display.c

  Log Message:
  -----------
  spice: fix simple display on bigendian hosts

Denis Kirjanov is busy getting spice run on ppc64 and trapped into this
one.  Spice wire format is little endian, so we have to explicitly say
we want little endian when letting pixman convert the data for us.

Reported-by: Denis Kirjanov <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d0df04a1569c75f6442123fdda0b2e9aadc3fcc7
      
https://github.com/qemu/qemu/commit/d0df04a1569c75f6442123fdda0b2e9aadc3fcc7
  Author: Marc-André Lureau <address@hidden>
  Date:   2015-04-27 (Mon, 27 Apr 2015)

  Changed paths:
    M ui/spice-display.c

  Log Message:
  -----------
  spice: fix mouse cursor position

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: dc8dceee64f45820c20f3ffa3c3fecd7b6539990
      
https://github.com/qemu/qemu/commit/dc8dceee64f45820c20f3ffa3c3fecd7b6539990
  Author: Marc-André Lureau <address@hidden>
  Date:   2015-04-27 (Mon, 27 Apr 2015)

  Changed paths:
    M include/ui/spice-display.h
    M ui/spice-display.c

  Log Message:
  -----------
  spice: set pointer position on hotspot

The Spice protocol uses cursor position on hotspot: the client is
applying hotspot offset when drawing the cursor.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 700cd855def54c2a9f2b6a016dcebf75fe19c238
      
https://github.com/qemu/qemu/commit/700cd855def54c2a9f2b6a016dcebf75fe19c238
  Author: Marc-André Lureau <address@hidden>
  Date:   2015-04-27 (Mon, 27 Apr 2015)

  Changed paths:
    M ui/spice-display.c

  Log Message:
  -----------
  spice: learn to hide cursor

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 3d27b09cf6f62ec61c1330d0a811811a91e7514d
      
https://github.com/qemu/qemu/commit/3d27b09cf6f62ec61c1330d0a811811a91e7514d
  Author: Peter Maydell <address@hidden>
  Date:   2015-04-27 (Mon, 27 Apr 2015)

  Changed paths:
    M hmp-commands.hx
    M include/ui/qemu-pixman.h
    M include/ui/qemu-spice.h
    M include/ui/spice-display.h
    M monitor.c
    M qmp-commands.hx
    M ui/spice-core.c
    M ui/spice-display.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/spice/tags/pull-spice-20150427-1' into 
staging

spice: misc fixes.

# gpg: Signature made Mon Apr 27 12:03:16 2015 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/spice/tags/pull-spice-20150427-1:
  spice: learn to hide cursor
  spice: set pointer position on hotspot
  spice: fix mouse cursor position
  spice: fix simple display on bigendian hosts
  monitor: Make client_migrate_info synchronous

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/3f9d69ba12da...3d27b09cf6f6

reply via email to

[Prev in Thread] Current Thread [Next in Thread]