qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] ede085: add a new runstate: RUN_STATE_GUEST_P


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] ede085: add a new runstate: RUN_STATE_GUEST_PANICKED
Date: Tue, 30 Apr 2013 15:00:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ede085b3fedfde36cb566968c4efcfbad4845af1
      
https://github.com/qemu/qemu/commit/ede085b3fedfde36cb566968c4efcfbad4845af1
  Author: Hu Tao <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    M include/sysemu/sysemu.h
    M qapi-schema.json
    M qmp.c
    M vl.c

  Log Message:
  -----------
  add a new runstate: RUN_STATE_GUEST_PANICKED

The guest will be in this state when it is panicked.

Signed-off-by: Wen Congyang <address@hidden>
Signed-off-by: Hu Tao <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: c401a8a5156a2596b285586002d544c595d40cf7
      
https://github.com/qemu/qemu/commit/c401a8a5156a2596b285586002d544c595d40cf7
  Author: Hu Tao <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    M QMP/qmp-events.txt
    M include/monitor/monitor.h
    M monitor.c

  Log Message:
  -----------
  add a new qevent: QEVENT_GUEST_PANICKED

This event will be emited when qemu detects guest panic.

Signed-off-by: Wen Congyang <address@hidden>
Signed-off-by: Hu Tao <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: eec3d2adc98dd9ef7352823ce6597f88a51cf7cb
      
https://github.com/qemu/qemu/commit/eec3d2adc98dd9ef7352823ce6597f88a51cf7cb
  Author: Hu Tao <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    M default-configs/i386-softmmu.mak
    M default-configs/x86_64-softmmu.mak
    M hw/misc/Makefile.objs
    A hw/misc/pvpanic.c

  Log Message:
  -----------
  introduce a new qom device to deal with panicked event

pvpanic device is used to send guest panic event from guest to qemu.

When guest panic happens, pvpanic device driver will write a event
number to IO port 0x505(which is the IO port occupied by pvpanic device,
by default). On receiving the event, pvpanic device will pause guest
cpu(s), and send a qmp event QEVENT_GUEST_PANICKED.

Signed-off-by: Wen Congyang <address@hidden>
Signed-off-by: Hu Tao <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 1dfe5057e5cf45b296ae67a7f84bdc6fa618d602
      
https://github.com/qemu/qemu/commit/1dfe5057e5cf45b296ae67a7f84bdc6fa618d602
  Author: Hu Tao <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    M include/hw/nvram/fw_cfg.h

  Log Message:
  -----------
  fw_cfg: add required header files

If fw_cfg.h is included alone, gcc gives error messages like these:

  error: unknown type name ‘uint32_t’
  error: unknown type name ‘size_t’
  error: unknown type name ‘hwaddr’
  ...

Signed-off-by: Hu Tao <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 10a584b2875a391d1036adac18955a892e56f5e3
      
https://github.com/qemu/qemu/commit/10a584b2875a391d1036adac18955a892e56f5e3
  Author: Hu Tao <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    M hw/misc/pvpanic.c
    M hw/nvram/fw_cfg.c

  Log Message:
  -----------
  pvpanic: pass configurable ioport to seabios

This lets seabios patch the corresponding SSDT entry.

Also add fw_cfg object to /machine/fw_cfg so we can reference
it elsewhere.

Signed-off-by: Hu Tao <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: b42ffe60d8b510cd2f76ef50f6a1057f91a3dd34
      
https://github.com/qemu/qemu/commit/b42ffe60d8b510cd2f76ef50f6a1057f91a3dd34
  Author: Hu Tao <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    A docs/specs/pvpanic.txt

  Log Message:
  -----------
  pvpanic: add document of pvpanic

Signed-off-by: Hu Tao <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 3ab135f3462af4c523a4b5969f9d6c67b2ac427a
      
https://github.com/qemu/qemu/commit/3ab135f3462af4c523a4b5969f9d6c67b2ac427a
  Author: Hu Tao <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/misc/pvpanic.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  pvpanic: create pvpanic by default for machine 1.5

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Hu Tao <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 08eb8c85e3967b97865d46acadf26dc908fbb094
      
https://github.com/qemu/qemu/commit/08eb8c85e3967b97865d46acadf26dc908fbb094
  Author: Christian Borntraeger <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  Wire up disabled wait a panicked event on s390

On s390 the disabled wait state indicates a state of attention.
For example Linux uses that state after a panic. Lets
put the system into panicked state.

An alternative implementation would be to state
disabled-wait <address> instead of pause in the action field.
(e.g. z/OS, z/VM and other classic OSes use the address of the
disabled wait to indicate an error code).

Signed-off-by: Christian Borntraeger <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: beb54a87ba74dfac00906b4c876945c6602cd293
      
https://github.com/qemu/qemu/commit/beb54a87ba74dfac00906b4c876945c6602cd293
  Author: Jesse Larrew <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    M tests/libqtest.c

  Log Message:
  -----------
  libqtest: only call fclose() on open files

libqtest.c can segfault when calling fclose() if the pidfile wasn't
opened successfully. This patch fixes the issue.

Signed-off-by: Jesse Larrew <address@hidden>
Reviewed-by: Anthony Liguori <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 9f032464c06c563fe0df49eac9caaaa90a68a219
      
https://github.com/qemu/qemu/commit/9f032464c06c563fe0df49eac9caaaa90a68a219
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    M include/sysemu/sysemu.h

  Log Message:
  -----------
  sysemu: drop register_devices from header

No user in sight.

Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: e9016ee2bda1b7757072b856b2196f691aee3388
      
https://github.com/qemu/qemu/commit/e9016ee2bda1b7757072b856b2196f691aee3388
  Author: Jason Wang <address@hidden>
  Date:   2013-04-30 (Tue, 30 Apr 2013)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  virtio-net: count VIRTIO_NET_F_MAC when calculating config_len

Commit 14f9b664 (hw/virtio-net.c: set config size using host features) tries to
calculate config size based on the host features. But it forgets the
VIRTIO_NET_F_MAC were always set for qemu later. This will lead a zero config
len for virtio-net device when both VIRTIO_NET_F_STATUS and VIRTIO_NET_F_MQ were
disabled form command line. Then qemu will crash when user tries to read the
config of virtio-net.

Fix this by counting VIRTIO_NET_F_MAC and make sure the config at least contains
the mac address.

Cc: Jesse Larrew <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/cffc5113a421...e9016ee2bda1

reply via email to

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