qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] bbfa18: qdev: fix get_fw_dev_path to support


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] bbfa18: qdev: fix get_fw_dev_path to support to add nothin...
Date: Fri, 31 May 2013 10:00:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bbfa18fca4e44ff9c23d36b50d8a998af9c9e9fc
      
https://github.com/qemu/qemu/commit/bbfa18fca4e44ff9c23d36b50d8a998af9c9e9fc
  Author: Amos Kong <address@hidden>
  Date:   2013-05-30 (Thu, 30 May 2013)

  Changed paths:
    M hw/core/qdev.c
    M hw/virtio/virtio-bus.c

  Log Message:
  -----------
  qdev: fix get_fw_dev_path to support to add nothing to fw_dev_path

Recent virtio refactoring in QEMU made virtio-bus become the parent bus
of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation,
typename will be added to fw_dev_path by default, the new fw_dev_path
could not be identified by seabios. It causes that bootindex parameter
of scsi device doesn't work.

This patch implements get_fw_dev_path() in BusClass, it will be called
if bus doesn't implement the method, tyename will be added to
fw_dev_path. If the implemented method returns NULL, nothing will be
added to fw_dev_path.

It also implements virtio_bus_get_fw_dev_path() to return NULL. Then
QEMU will still pass original style of fw_dev_path to seabios.

Signed-off-by: Amos Kong <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Message-id: address@hidden
--
v2: only add nothing to fw_dev_path when get_fw_dev_path() is
    implemented and returns NULL. then it will not effect other devices
    don't have get_fw_dev_path() implementation.
v3: implement default get_fw_dev_path() in BusClass
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 87f25c12bfeaaa0c41fb857713bbc7e8a9b757dc
      
https://github.com/qemu/qemu/commit/87f25c12bfeaaa0c41fb857713bbc7e8a9b757dc
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-05-30 (Thu, 30 May 2013)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: do not restart crashed guest

If a guest has crashed with an internal error or similar, detaching
gdb (or any other debugger action) should not restart it.

Cc: Jan Kiszka <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: fd21faadb12669e24eaf0a277de61c24fcde4cac
      
https://github.com/qemu/qemu/commit/fd21faadb12669e24eaf0a277de61c24fcde4cac
  Author: Paul Moore <address@hidden>
  Date:   2013-05-30 (Thu, 30 May 2013)

  Changed paths:
    M qemu-seccomp.c

  Log Message:
  -----------
  seccomp: add the asynchronous I/O syscalls to the whitelist

In order to enable the asynchronous I/O functionality when using the
seccomp sandbox we need to add the associated syscalls to the
whitelist.

Signed-off-by: Paul Moore <address@hidden>
Reviewed-by: Corey Bryant <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/87d23f78aa79...fd21faadb126

reply via email to

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