From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeKXa-0006Mq-Tl for qemu-devel@nongnu.org; Wed, 15 Oct 2014 05:06:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeKXW-0006yp-0P for qemu-devel@nongnu.org; Wed, 15 Oct 2014 05:06:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeKXV-0006yj-PF for qemu-devel@nongnu.org; Wed, 15 Oct 2014 05:06:37 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9F96a6M026516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 15 Oct 2014 05:06:37 -0400 From: Gerd Hoffmann Date: Wed, 15 Oct 2014 11:05:33 +0200 Message-Id: <1413363967-2489-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 00/34] allow changing bootorder via monitor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi, It's finally sorted, here comes the pull request for the bootindex patch series which turns bootindex into a writable qom property and thereby allows changing the bootorder at runtime via monitor. please pull, Gerd The following changes since commit b1d28ec6a7dbdaadda39d29322f0de694aeb0b74: Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20141010' into staging (2014-10-10 14:55:29 +0100) are available in the git repository at: git://git.kraxel.org/qemu tags/pull-bootindex-20141015-1 for you to fetch changes up to 54086fe5d2c562a3173126d9991bd064faf1e884: bootindex: change fprintf to error_report (2014-10-15 10:46:01 +0200) ---------------------------------------------------------------- allow changing bootorder via monitor at runtime, by making bootindex a writable qom property. ---------------------------------------------------------------- Gonglei (34): bootdevice: move bootdevice related code to new file bootdevice.c bootindex: add check bootindex function bootindex: add del_boot_device_path function fw_cfg: add fw_cfg_machine_reset function bootindex: rework add_boot_device_path function bootindex: support to set a existent device's bootindex to -1 bootindex: add a setter/getter functions wrapper for bootindex property virtio-net: add bootindex to qom property e1000: add bootindex to qom property eepro100: add bootindex to qom property ne2000: add bootindex to qom property pcnet: add bootindex to qom property rtl8139: add bootindex to qom property spapr_lian: add bootindex to qom property vmxnet3: add bootindex to qom property usb-net: add bootindex to qom property net: remove bootindex property from qdev to qom virtio-net: alias bootindex property explicitly for virt-net-pci/ccw/s390 host-libusb: remove bootindex property from qdev to qom pci-assign: remove bootindex property from qdev to qom vfio: remove bootindex property from qdev to qom redirect: remove bootindex property from qdev to qom isa-fdc: remove bootindexA/B property from qdev to qom scsi: add bootindex to qom property ide: add bootindex to qom property virtio-blk: add bootindex to qom property block: remove bootindex property from qdev to qom virtio-blk: alias bootindex property explicitly for virt-blk-pci/ccw/s390 usb-storage: add bootindex to qom property nvma: ide: add bootindex to qom property ide: add calling add_boot_device_patch in bootindex setter function bootindex: move calling add_boot_device_patch to bootindex setter function bootindex: delete bootindex when device is removed bootindex: change fprintf to error_report Makefile.target | 2 +- bootdevice.c | 258 +++++++++++++++++++++++++++++++++++++++++++++ hw/block/fdc.c | 18 +++- hw/block/nvme.c | 44 ++++++++ hw/block/virtio-blk.c | 5 +- hw/i386/kvm/pci-assign.c | 14 ++- hw/ide/qdev.c | 47 +++++++++ hw/misc/vfio.c | 13 ++- hw/net/e1000.c | 12 ++- hw/net/eepro100.c | 13 ++- hw/net/lance.c | 12 +++ hw/net/ne2000-isa.c | 44 ++++++++ hw/net/ne2000.c | 14 ++- hw/net/pcnet-pci.c | 12 +++ hw/net/pcnet.c | 2 - hw/net/pcnet.h | 1 - hw/net/rtl8139.c | 12 ++- hw/net/spapr_llan.c | 12 ++- hw/net/virtio-net.c | 5 +- hw/net/vmxnet3.c | 10 +- hw/nvram/fw_cfg.c | 55 +++++++++- hw/s390x/s390-virtio-bus.c | 4 + hw/s390x/virtio-ccw.c | 4 + hw/scsi/scsi-bus.c | 14 ++- hw/scsi/scsi-disk.c | 2 - hw/scsi/scsi-generic.c | 4 - hw/usb/dev-network.c | 11 +- hw/usb/dev-storage.c | 52 +++++++++ hw/usb/host-libusb.c | 13 ++- hw/usb/redirect.c | 13 ++- hw/virtio/virtio-pci.c | 4 + include/hw/block/block.h | 1 - include/hw/nvram/fw_cfg.h | 2 + include/net/net.h | 3 +- include/sysemu/sysemu.h | 6 ++ vl.c | 118 +-------------------- 36 files changed, 690 insertions(+), 166 deletions(-) create mode 100644 bootdevice.c