qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 34f1b2: elf-loader: Allow late loading of elf


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 34f1b2: elf-loader: Allow late loading of elf
Date: Wed, 01 Mar 2017 05:15:09 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 34f1b23f8a61841bac06010e898221c6192a9035
      
https://github.com/qemu/qemu/commit/34f1b23f8a61841bac06010e898221c6192a9035
  Author: Farhan Ali <address@hidden>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M hw/core/loader.c
    M include/hw/elf_ops.h
    M include/hw/loader.h

  Log Message:
  -----------
  elf-loader: Allow late loading of elf

The current QEMU ROM infrastructure rejects late loading of ROMs.
And ELFs are currently loaded as ROM, this prevents delayed loading
of ELFs. So when loading ELF, allow the user to specify if ELF should
be loaded as ROM or not.

If an ELF is not loaded as ROM, then they are not restored on a
guest reboot/reset and so its upto the user to handle the reloading.

Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Cc: Peter Maydell <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 5f31ade055dfb9da9d04fe826374ed5f91dd5d24
      
https://github.com/qemu/qemu/commit/5f31ade055dfb9da9d04fe826374ed5f91dd5d24
  Author: Farhan Ali <address@hidden>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M hw/s390x/ipl.c
    M hw/s390x/ipl.h
    M hw/s390x/s390-virtio-ccw.c
    M hw/s390x/s390-virtio.c
    M hw/s390x/s390-virtio.h

  Log Message:
  -----------
  s390x/ipl: Extend S390IPLState to support network boot

Add new field to S390IPLState to store the name of the network boot
loader.

Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>


  Commit: f38b5b7fc4e27724afc72b91efa2bc82f84bb25e
      
https://github.com/qemu/qemu/commit/f38b5b7fc4e27724afc72b91efa2bc82f84bb25e
  Author: Farhan Ali <address@hidden>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M hw/s390x/ipl.c
    M hw/s390x/ipl.h

  Log Message:
  -----------
  s390x/ipl: Load network boot image

Load the network boot image into guest RAM when the boot
device selected is a network device. Use some of the reserved
space in IplBlockCcw to store the start address of the netboot
image.

A user could also use 'chreipl'(diag 308/5) to change the boot device.
So every time we update the IPLB, we need to verify if the selected
boot device is a network device so we can appropriately load the
network boot image.

Signed-off-by: Farhan Ali <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 99b72e0fbbadd1757d9adfdd3eeb596f6e690f33
      
https://github.com/qemu/qemu/commit/99b72e0fbbadd1757d9adfdd3eeb596f6e690f33
  Author: Farhan Ali <address@hidden>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M pc-bios/s390-ccw/bootmap.c
    M pc-bios/s390-ccw/iplb.h
    M pc-bios/s390-ccw/main.c
    M pc-bios/s390-ccw/virtio.c
    M pc-bios/s390-ccw/virtio.h

  Log Message:
  -----------
  pc-bios/s390-ccw: Use the ccw bios to start the network boot

We want to use the ccw bios to start final network boot. To do
this we use ccw bios to detect if the boot device is a virtio
network device and retrieve the start address of the
network boot image.

Signed-off-by: Farhan Ali <address@hidden>
Reviewed-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: e8ebf60f6d12aca2a4d6bb1059bbcda94ea0bbeb
      
https://github.com/qemu/qemu/commit/e8ebf60f6d12aca2a4d6bb1059bbcda94ea0bbeb
  Author: Cornelia Huck <address@hidden>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M pc-bios/s390-ccw.img

  Log Message:
  -----------
  pc-bios/s390-ccw.img: rebuild image

Contains the following commits:
- pc-bios/s390-ccw: Use the ccw bios to start the network boot

Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 758af5e8620c24d848e2105c6f8ffef77059edc0
      
https://github.com/qemu/qemu/commit/758af5e8620c24d848e2105c6f8ffef77059edc0
  Author: Peter Maydell <address@hidden>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M hw/core/loader.c
    M hw/s390x/ipl.c
    M hw/s390x/ipl.h
    M hw/s390x/s390-virtio-ccw.c
    M hw/s390x/s390-virtio.c
    M hw/s390x/s390-virtio.h
    M include/hw/elf_ops.h
    M include/hw/loader.h
    M pc-bios/s390-ccw.img
    M pc-bios/s390-ccw/bootmap.c
    M pc-bios/s390-ccw/iplb.h
    M pc-bios/s390-ccw/main.c
    M pc-bios/s390-ccw/virtio.c
    M pc-bios/s390-ccw/virtio.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20170228' into staging

Network boot for s390x. More information (and instructions
for building a s390-netboot.img) can be found at
http://wiki.qemu-project.org/Features/S390xNetworkBoot

# gpg: Signature made Tue 28 Feb 2017 11:27:18 GMT
# gpg:                using RSA key 0xDECF6B93C6F02FAF
# gpg: Good signature from "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# Primary key fingerprint: C3D0 D66D C362 4FF6 A8C0  18CE DECF 6B93 C6F0 2FAF

* remotes/cohuck/tags/s390x-20170228:
  pc-bios/s390-ccw.img: rebuild image
  pc-bios/s390-ccw: Use the ccw bios to start the network boot
  s390x/ipl: Load network boot image
  s390x/ipl: Extend S390IPLState to support network boot
  elf-loader: Allow late loading of elf

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


Compare: https://github.com/qemu/qemu/compare/e7c83a885f86...758af5e8620c

reply via email to

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