qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] a9552c: Introduce powerdown_notifiers


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a9552c: Introduce powerdown_notifiers
Date: Wed, 26 Sep 2012 06:00:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a9552c8edbd31bf75d42b561f0a592c00aff1038
      
https://github.com/qemu/qemu/commit/a9552c8edbd31bf75d42b561f0a592c00aff1038
  Author: Igor Mammedov <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M sysemu.h
    M vl.c

  Log Message:
  -----------
  Introduce powerdown_notifiers

Notifier will be used for signaling powerdown request to guest in
a more general way and intended to replace very specific
qemu_irq_rise(qemu_system_powerdown) and will allow to remove global
variable qemu_system_powerdown.

Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: d010f91c3ab97862c1d0a6a6b6832ed388fb6cd7
      
https://github.com/qemu/qemu/commit/d010f91c3ab97862c1d0a6a6b6832ed388fb6cd7
  Author: Igor Mammedov <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M hw/acpi_piix4.c

  Log Message:
  -----------
  acpi: use notifier for signaling guest system_powerdown command

In addition, there is no need to allocate an extra irq just for
rising SCI in irq handler. Just rise SCI right from notifier
handler instead.

Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: c72ddb1e4734ce021c3101b6b4f8ed02439c9e21
      
https://github.com/qemu/qemu/commit/c72ddb1e4734ce021c3101b6b4f8ed02439c9e21
  Author: Igor Mammedov <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M hw/nseries.c

  Log Message:
  -----------
  target-arm: use notifier for signaling guest system_powerdown command

Acked-by: Peter Maydell <address@hidden>
Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: bea42280dad1e016225654a062b98bafe99e51fe
      
https://github.com/qemu/qemu/commit/bea42280dad1e016225654a062b98bafe99e51fe
  Author: Igor Mammedov <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M hw/sun4m.c

  Log Message:
  -----------
  target-sparc: use notifier for signaling guest system_powerdown command

Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 013c2f150f617d0e19ab487539df2234b2d4209b
      
https://github.com/qemu/qemu/commit/013c2f150f617d0e19ab487539df2234b2d4209b
  Author: Igor Mammedov <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M sysemu.h
    M vl.c

  Log Message:
  -----------
  Cleanup unused global var qemu_system_powerdown

All deps that used global qemu_system_powerdown var are now converted
to notifiers, so remove it.

Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: f430694188293f99a316bfa375b7cc17d23a06ed
      
https://github.com/qemu/qemu/commit/f430694188293f99a316bfa375b7cc17d23a06ed
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M hw/pc_piix.c

  Log Message:
  -----------
  add pc-1.3 machine type

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


  Commit: 183c5eaa41f7814ed4e83c16812c67a857eac6aa
      
https://github.com/qemu/qemu/commit/183c5eaa41f7814ed4e83c16812c67a857eac6aa
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M hw/pc_piix.c

  Log Message:
  -----------
  compat: turn off msi/msix on xhci for old machine types

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


  Commit: c08ba66f13d3977402e0c9cd6ef35323ea11c0d6
      
https://github.com/qemu/qemu/commit/c08ba66f13d3977402e0c9cd6ef35323ea11c0d6
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M hw/ivshmem.c
    M hw/pc_piix.c

  Log Message:
  -----------
  ivshmem: add 64bit option

This patch adds a "use64" property which will make the ivshmem driver
register a 64bit memory bar when set, so you have something to play with
when testing 64bit pci bits.  It also allows to have quite big shared
memory regions, like this:

address@hidden ~]# lspci -vs1:1
01:01.0 RAM memory: Red Hat, Inc Device 1110
  Subsystem: Red Hat, Inc Device 1100
  Physical Slot: 1-1
  Flags: fast devsel
  Memory at fd400000 (32-bit, non-prefetchable) [disabled] [size=256]
  Memory at 8040000000 (64-bit, prefetchable) [size=1G]

[ v5: rebase, update compat property for post-1.2 merge ]
[ v4: rebase & adapt to latest master again ]
[ v3: rebase & adapt to latest master ]
[ v2: default to on as suggested by avi,
      turn off for pc-$old using compat property ]

Signed-off-by: Gerd Hoffmann <address@hidden>
Tested-by: Cam Macdonell <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 8bdd3d499fe0ddffa9901c56ab3bc8911d5b8be0
      
https://github.com/qemu/qemu/commit/8bdd3d499fe0ddffa9901c56ab3bc8911d5b8be0
  Author: Stefan Weil <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M Makefile
    M configure

  Log Message:
  -----------
  configure: Allow builds without any system or user emulation

The old code aborted configure when no emulation target was selected.
Even after removing the 'exit 1', it tried to read from STDIN
when QEMU was configured with

    configure' '--disable-user' '--disable-system'

This is fixed here.

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 05bc1d8a4b2f77df8cc9880a552047e30c16f1f8
      
https://github.com/qemu/qemu/commit/05bc1d8a4b2f77df8cc9880a552047e30c16f1f8
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M qemu-sockets.c

  Log Message:
  -----------
  Refactor inet_connect_opts function

refactor address resolution code to fix nonblocking connect
remove getnameinfo call

Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Amos Kong <address@hidden>
Signed-off-by: Orit Wasserman <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 5db5f44cb4b7f24b9e0efdefc9015e36b7c34881
      
https://github.com/qemu/qemu/commit/5db5f44cb4b7f24b9e0efdefc9015e36b7c34881
  Author: Orit Wasserman <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M migration-tcp.c
    M nbd.c
    M qemu-char.c
    M qemu-sockets.c
    M qemu_socket.h
    M ui/vnc.c

  Log Message:
  -----------
  Separate inet_connect into inet_connect (blocking) and 
inet_nonblocking_connect

No need to add non blocking parameters to the blocking inet_connect
add block parameter for inet_connect_opts instead of using QemuOpt "block".

Signed-off-by: Orit Wasserman <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 233aa5c2d1cf4655ffe335025a68cf5454f87dad
      
https://github.com/qemu/qemu/commit/233aa5c2d1cf4655ffe335025a68cf5454f87dad
  Author: Orit Wasserman <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M migration-tcp.c
    M qemu-char.c
    M qemu-sockets.c
    M qemu_socket.h

  Log Message:
  -----------
  Fix address handling in inet_nonblocking_connect

getaddrinfo can give us a list of addresses, but we only try to
connect to the first one. If that fails we never proceed to
the next one.  This is common on desktop setups that often have ipv6
configured but not actually working.

To fix this make inet_connect_nonblocking retry connection with a different
address.
callers on inet_nonblocking_connect register a callback function that will
be called when connect opertion completes, in case of failure the fd will have
a negative value

Signed-off-by: Orit Wasserman <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 3202becaa2b805497ce9e6faa6edfb83665f91b1
      
https://github.com/qemu/qemu/commit/3202becaa2b805497ce9e6faa6edfb83665f91b1
  Author: Orit Wasserman <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M migration.c

  Log Message:
  -----------
  Clear handler only for valid fd

Signed-off-by: Orit Wasserman <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: ac05f3492421caeb05809ffa02c6198ede179e43
      
https://github.com/qemu/qemu/commit/ac05f3492421caeb05809ffa02c6198ede179e43
  Author: Amos Kong <address@hidden>
  Date:   2012-09-25 (Tue, 25 Sep 2012)

  Changed paths:
    M hw/fw_cfg.c
    M qemu-config.c
    M qemu-options.hx
    M vl.c

  Log Message:
  -----------
  add a boot parameter to set reboot timeout

Added an option to let qemu transfer a configuration file to bios,
"etc/boot-fail-wait", which could be specified by command
    -boot reboot-timeout=T
T have a max value of 0xffff, unit is ms.

With this option, guest will wait for a given time if not find
bootabled device, then reboot. If reboot-timeout is '-1', guest
will not reboot, qemu passes '-1' to bios by default.

This feature need the new seabios's support.

Seabios pulls the value from the fwcfg "file" interface, this
interface is used because SeaBIOS needs a reliable way of
obtaining a name, value size, and value. It in no way requires
that there be a real file on the user's host machine.

Signed-off-by: Amos Kong <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/d9b41bcda91e...ac05f3492421

reply via email to

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