qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] bc7411: bootdevice: move bootdevice related c


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] bc7411: bootdevice: move bootdevice related code to new fi...
Date: Thu, 16 Oct 2014 01:30:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bc74112f7e857a662b1802145ca4cb9230de2f5c
      
https://github.com/qemu/qemu/commit/bc74112f7e857a662b1802145ca4cb9230de2f5c
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M Makefile.target
    A bootdevice.c
    M include/sysemu/sysemu.h
    M vl.c

  Log Message:
  -----------
  bootdevice: move bootdevice related code to new file bootdevice.c

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


  Commit: 694fb857abd770db623b6df5475291797b86187c
      
https://github.com/qemu/qemu/commit/694fb857abd770db623b6df5475291797b86187c
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M bootdevice.c
    M include/sysemu/sysemu.h

  Log Message:
  -----------
  bootindex: add check bootindex function

Determine whether a given bootindex exists or not.
If exists, we report an error.

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


  Commit: 9d27572d626be35aea079df1ea690215fea0598a
      
https://github.com/qemu/qemu/commit/9d27572d626be35aea079df1ea690215fea0598a
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M bootdevice.c
    M include/sysemu/sysemu.h

  Log Message:
  -----------
  bootindex: add del_boot_device_path function

Introduce del_boot_device_path() to clean up fw_cfg content when
hot-unplugging a device that refers to a bootindex or update a
existent devcie's bootindex.

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


  Commit: bdbb5b1706d165e8d4222121f1e9b59b6b4359ce
      
https://github.com/qemu/qemu/commit/bdbb5b1706d165e8d4222121f1e9b59b6b4359ce
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

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

  Log Message:
  -----------
  fw_cfg: add fw_cfg_machine_reset function

We must assure that the changed bootindex can take effect
when guest is rebooted. So we introduce fw_cfg_machine_reset(),
which change the fw_cfg file's bootindex data using the new
global fw_boot_order list.

Signed-off-by: Chenliang <address@hidden>
Signed-off-by: Gonglei <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: e614b54b9340e6fe14eaecd378a2d7d7ebcde736
      
https://github.com/qemu/qemu/commit/e614b54b9340e6fe14eaecd378a2d7d7ebcde736
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M bootdevice.c

  Log Message:
  -----------
  bootindex: rework add_boot_device_path function

Add the function of updating bootindex about fw_boot_order list
in add_boot_device_path(). We should delete the old one if a
device has existed in global fw_boot_order list.

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


  Commit: a598f2ffc2df59afcea5454fb353b849911da90b
      
https://github.com/qemu/qemu/commit/a598f2ffc2df59afcea5454fb353b849911da90b
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M bootdevice.c

  Log Message:
  -----------
  bootindex: support to set a existent device's bootindex to -1

When set a device's bootindex to -1, we remove it from global
fw_boot_order list.

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


  Commit: 12da30977813472b91f0ba1a69f9258bbe679b2e
      
https://github.com/qemu/qemu/commit/12da30977813472b91f0ba1a69f9258bbe679b2e
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M bootdevice.c
    M include/sysemu/sysemu.h

  Log Message:
  -----------
  bootindex: add a setter/getter functions wrapper for bootindex property

when we remove bootindex form qdev.property to qom.property,
we can use those functions set/get bootindex property for all
correlative devices. Meanwhile set the initial value of
bootindex to -1.

Signed-off-by: Gonglei <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: aa4197c32337aac32b0ed2a37fdbd80a2c0bfaec
      
https://github.com/qemu/qemu/commit/aa4197c32337aac32b0ed2a37fdbd80a2c0bfaec
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

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

  Log Message:
  -----------
  virtio-net: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 5df3bf623d1047307ba5aa42f2200bbb29688325
      
https://github.com/qemu/qemu/commit/5df3bf623d1047307ba5aa42f2200bbb29688325
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/net/e1000.c

  Log Message:
  -----------
  e1000: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 7317bb1782088081f78127158f315d89789fb02c
      
https://github.com/qemu/qemu/commit/7317bb1782088081f78127158f315d89789fb02c
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/net/eepro100.c

  Log Message:
  -----------
  eepro100: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 6cb0851d628ffb84088e1dbdb70098320a5c0894
      
https://github.com/qemu/qemu/commit/6cb0851d628ffb84088e1dbdb70098320a5c0894
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/net/ne2000-isa.c
    M hw/net/ne2000.c

  Log Message:
  -----------
  ne2000: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

At present, isa_ne2000 device does not support to boot
os, so we register two seprate qom getter/setter functions.

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


  Commit: ea3b3511cda0b68100b9633223540f5d5ca69078
      
https://github.com/qemu/qemu/commit/ea3b3511cda0b68100b9633223540f5d5ca69078
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/net/lance.c
    M hw/net/pcnet-pci.c
    M hw/net/pcnet.h

  Log Message:
  -----------
  pcnet: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: afd7c850f58b93ab7ff311cfcbac0952ee53e632
      
https://github.com/qemu/qemu/commit/afd7c850f58b93ab7ff311cfcbac0952ee53e632
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/net/rtl8139.c

  Log Message:
  -----------
  rtl8139: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: dfe79cf268ce78a8b821084c91f801e879543992
      
https://github.com/qemu/qemu/commit/dfe79cf268ce78a8b821084c91f801e879543992
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/net/spapr_llan.c

  Log Message:
  -----------
  spapr_lian: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: e25524efb041230b4cb15c5941f09b2138fefaa2
      
https://github.com/qemu/qemu/commit/e25524efb041230b4cb15c5941f09b2138fefaa2
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/net/vmxnet3.c

  Log Message:
  -----------
  vmxnet3: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: c11f4bc9ff7e727aedc57c796158e4af0261c56c
      
https://github.com/qemu/qemu/commit/c11f4bc9ff7e727aedc57c796158e4af0261c56c
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/usb/dev-network.c

  Log Message:
  -----------
  usb-net: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 45e8a9e123ccf06f1dce2744676ae64382e0a273
      
https://github.com/qemu/qemu/commit/45e8a9e123ccf06f1dce2744676ae64382e0a273
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M include/net/net.h

  Log Message:
  -----------
  net: remove bootindex property from qdev to qom

Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 0cf63c3e3552412c7d5e4be1c89645277cb1cbe5
      
https://github.com/qemu/qemu/commit/0cf63c3e3552412c7d5e4be1c89645277cb1cbe5
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/s390x/s390-virtio-bus.c
    M hw/s390x/virtio-ccw.c
    M hw/virtio/virtio-pci.c

  Log Message:
  -----------
  virtio-net: alias bootindex property explicitly for virt-net-pci/ccw/s390

Since the "bootindex" property is a QOM property and not a qdev property
now, we must alias it explicitly for virtio-net-pci, as well as CCW and
s390-virtio.

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


  Commit: e6adae52b18db1f21a93287fc21a9e185fcd5861
      
https://github.com/qemu/qemu/commit/e6adae52b18db1f21a93287fc21a9e185fcd5861
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/usb/host-libusb.c

  Log Message:
  -----------
  host-libusb: remove bootindex property from qdev to qom

Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 7f6014af279b9a5a6580ac66d474a0d8d86ec665
      
https://github.com/qemu/qemu/commit/7f6014af279b9a5a6580ac66d474a0d8d86ec665
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/i386/kvm/pci-assign.c

  Log Message:
  -----------
  pci-assign: remove bootindex property from qdev to qom

Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: abc5b3bfe1c77ad622188341d1ee4d49de308ae3
      
https://github.com/qemu/qemu/commit/abc5b3bfe1c77ad622188341d1ee4d49de308ae3
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/misc/vfio.c

  Log Message:
  -----------
  vfio: remove bootindex property from qdev to qom

Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 295857994c834473f0f28ac33b50f97ca8e61199
      
https://github.com/qemu/qemu/commit/295857994c834473f0f28ac33b50f97ca8e61199
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  redirect: remove bootindex property from qdev to qom

Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 81782b6a7874c7f6e69d9d95747e477c4c17ceeb
      
https://github.com/qemu/qemu/commit/81782b6a7874c7f6e69d9d95747e477c4c17ceeb
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/block/fdc.c

  Log Message:
  -----------
  isa-fdc: remove bootindexA/B property from qdev to qom

Remove bootindexA/B form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 44fb6337b9568ccb9f0d6dfb357eeb69f66d8527
      
https://github.com/qemu/qemu/commit/44fb6337b9568ccb9f0d6dfb357eeb69f66d8527
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/scsi/scsi-bus.c

  Log Message:
  -----------
  scsi: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 4556363087e21bedab006aa5a5803399d2277eac
      
https://github.com/qemu/qemu/commit/4556363087e21bedab006aa5a5803399d2277eac
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/ide/qdev.c

  Log Message:
  -----------
  ide: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 3342ec324a7a9e4cf451968a1b320e8098410cb6
      
https://github.com/qemu/qemu/commit/3342ec324a7a9e4cf451968a1b320e8098410cb6
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/block/virtio-blk.c

  Log Message:
  -----------
  virtio-blk: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: 8dece34f26dbb8995c8e857052ccd084937d6a66
      
https://github.com/qemu/qemu/commit/8dece34f26dbb8995c8e857052ccd084937d6a66
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/scsi/scsi-bus.c
    M hw/scsi/scsi-disk.c
    M hw/scsi/scsi-generic.c
    M include/hw/block/block.h

  Log Message:
  -----------
  block: remove bootindex property from qdev to qom

Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

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


  Commit: aeb98ddc50defe9479d81fcb2afb9aa0c5b61bc8
      
https://github.com/qemu/qemu/commit/aeb98ddc50defe9479d81fcb2afb9aa0c5b61bc8
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/s390x/s390-virtio-bus.c
    M hw/s390x/virtio-ccw.c
    M hw/virtio/virtio-pci.c

  Log Message:
  -----------
  virtio-blk: alias bootindex property explicitly for virt-blk-pci/ccw/s390

Since the "bootindex" property is a QOM property and not a qdev property
now, we must alias it explicitly for virtio-blk-pci, as well as CCW and
s390-virtio.

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


  Commit: 89f0762dde298aac6949e1cefe06ab4ed13b1135
      
https://github.com/qemu/qemu/commit/89f0762dde298aac6949e1cefe06ab4ed13b1135
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/usb/dev-storage.c

  Log Message:
  -----------
  usb-storage: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

Because usb-storage rely on scsi-disk which is created
in usb_msg_realize_storage(), so we should store the SCSIDevice
pointer in MSDState struct. Only in this way, we can change
the global boot_order_list when we want to change the bootindex
during vm rebooting by calling object_property_set_int(Object(SCSIDevice),).

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


  Commit: 33739c712982929a7763f0ae42a0a9c3b3f21796
      
https://github.com/qemu/qemu/commit/33739c712982929a7763f0ae42a0a9c3b3f21796
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/block/nvme.c

  Log Message:
  -----------
  nvma: ide: add bootindex to qom property

At present, nvma cannot boot. However, it provides already
a bootindex property, so change bootindex to qom for nvma
device, but not call add_boot_device_path.

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


  Commit: d2b186f96d19c1f8a6b7e528ff32c24096d5b204
      
https://github.com/qemu/qemu/commit/d2b186f96d19c1f8a6b7e528ff32c24096d5b204
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M hw/ide/qdev.c

  Log Message:
  -----------
  ide: add calling add_boot_device_patch in bootindex setter function

On this way, we can assure the new bootindex take effect
during vm rebooting. Meanwhile set the initial value of
bootindex to -1.

Because ide devcies's unit property maybe
do not initialize when set_bootindex function is called,
so that we don't know its suffix. So we have to save the
call add_boot_device_path() on ide realize/init function.
When we want to change bootindex during vm rebooting, we
can call it in setter function.

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


  Commit: d749e10c4f97a0239180215c6d7d18712361a430
      
https://github.com/qemu/qemu/commit/d749e10c4f97a0239180215c6d7d18712361a430
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M bootdevice.c
    M hw/block/fdc.c
    M hw/block/virtio-blk.c
    M hw/i386/kvm/pci-assign.c
    M hw/misc/vfio.c
    M hw/net/e1000.c
    M hw/net/eepro100.c
    M hw/net/ne2000.c
    M hw/net/pcnet.c
    M hw/net/rtl8139.c
    M hw/net/spapr_llan.c
    M hw/net/virtio-net.c
    M hw/net/vmxnet3.c
    M hw/scsi/scsi-disk.c
    M hw/scsi/scsi-generic.c
    M hw/usb/dev-network.c
    M hw/usb/host-libusb.c
    M hw/usb/redirect.c

  Log Message:
  -----------
  bootindex: move calling add_boot_device_patch to bootindex setter function

On this way, we can assure the new bootindex take effect
during vm rebooting.

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


  Commit: 4aca8a817813f44e379d21b471c1d4136804814d
      
https://github.com/qemu/qemu/commit/4aca8a817813f44e379d21b471c1d4136804814d
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M bootdevice.c

  Log Message:
  -----------
  bootindex: delete bootindex when device is removed

Device should be removed from global boot list when
it is hot-unplugged.

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


  Commit: 54086fe5d2c562a3173126d9991bd064faf1e884
      
https://github.com/qemu/qemu/commit/54086fe5d2c562a3173126d9991bd064faf1e884
  Author: Gonglei <address@hidden>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M bootdevice.c

  Log Message:
  -----------
  bootindex: change fprintf to error_report

The function may be called by qmp command, we should
report error message to the caller.

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


  Commit: 605c690b1b0e4f36c1e3f427322bdfaa80b9dcbe
      
https://github.com/qemu/qemu/commit/605c690b1b0e4f36c1e3f427322bdfaa80b9dcbe
  Author: Peter Maydell <address@hidden>
  Date:   2014-10-16 (Thu, 16 Oct 2014)

  Changed paths:
    M Makefile.target
    A bootdevice.c
    M hw/block/fdc.c
    M hw/block/nvme.c
    M hw/block/virtio-blk.c
    M hw/i386/kvm/pci-assign.c
    M hw/ide/qdev.c
    M hw/misc/vfio.c
    M hw/net/e1000.c
    M hw/net/eepro100.c
    M hw/net/lance.c
    M hw/net/ne2000-isa.c
    M hw/net/ne2000.c
    M hw/net/pcnet-pci.c
    M hw/net/pcnet.c
    M hw/net/pcnet.h
    M hw/net/rtl8139.c
    M hw/net/spapr_llan.c
    M hw/net/virtio-net.c
    M hw/net/vmxnet3.c
    M hw/nvram/fw_cfg.c
    M hw/s390x/s390-virtio-bus.c
    M hw/s390x/virtio-ccw.c
    M hw/scsi/scsi-bus.c
    M hw/scsi/scsi-disk.c
    M hw/scsi/scsi-generic.c
    M hw/usb/dev-network.c
    M hw/usb/dev-storage.c
    M hw/usb/host-libusb.c
    M hw/usb/redirect.c
    M hw/virtio/virtio-pci.c
    M include/hw/block/block.h
    M include/hw/nvram/fw_cfg.h
    M include/net/net.h
    M include/sysemu/sysemu.h
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-bootindex-20141015-1' 
into staging

allow changing bootorder via monitor at runtime,
by making bootindex a writable qom property.

* remotes/kraxel/tags/pull-bootindex-20141015-1: (34 commits)
  bootindex: change fprintf to error_report
  bootindex: delete bootindex when device is removed
  bootindex: move calling add_boot_device_patch to bootindex setter function
  ide: add calling add_boot_device_patch in bootindex setter function
  nvma: ide: add bootindex to qom property
  usb-storage: add bootindex to qom property
  virtio-blk: alias bootindex property explicitly for virt-blk-pci/ccw/s390
  block: remove bootindex property from qdev to qom
  virtio-blk: add bootindex to qom property
  ide: add bootindex to qom property
  scsi: add bootindex to qom property
  isa-fdc: remove bootindexA/B property from qdev to qom
  redirect: remove bootindex property from qdev to qom
  vfio: remove bootindex property from qdev to qom
  pci-assign: remove bootindex property from qdev to qom
  host-libusb: remove bootindex property from qdev to qom
  virtio-net: alias bootindex property explicitly for virt-net-pci/ccw/s390
  net: remove bootindex property from qdev to qom
  usb-net: add bootindex to qom property
  vmxnet3: add bootindex to qom property
  ...

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


Compare: https://github.com/qemu/qemu/compare/89b516d8b944...605c690b1b0e

reply via email to

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