w32, w64: Add build rule for installer
The new rules in Makefile allow building installers for QEMU on Windowsusing NSIS, a package which is also available for Linux distributions(so cross builds are possible).
The rules for NSIS are in qemu.nsi which also uses two new images....
seabios: update to 1.7.3
Changes summary (git shortlog rel-1.7.2.2..rel-1.7.3):
Alex Williamson (4): seabios q35: Enable all PIRQn IRQs at startup seabios q35: Add new PCI slot to irq routing function seabios: Add a dummy PCI slot to irq mapping function...
pc-bios: Update palcode-clipper
Update image to c87a92639b28ac42bc8f6c67443543b405dc479b,incorporating changes for vm_time.
Signed-off-by: Richard Henderson <rth@twiddle.net>
multiboot: Don't forget last mmap entry
When the BIOS returns ebx = 0, the current entry is still valid andneeds to be included in the Multiboot memory map.
Fixing this meant that using bx as the entry index doesn't work anymore because it's 0 on the last entry (and it was SeaBIOS-specific...
multiboot: Calculate upper_mem in the ROM
The upper_mem field of the Multiboot information struct doesn't reallycontain the RAM size - 1 MB like we used to calculate it, but only thememory from 1 MB up to the first (upper) memory hole.
In order to correctly retrieve this information, the multiboot ROM now...
multiboot: Updated ROM binary
Signed-off-by: Kevin Wolf <mail@kevin-wolf.de>Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>Message-id: 1372018066-21822-4-git-send-email-mail@kevin-wolf.deSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
gtk: use better icon
The current icon looks pretty terrible rendered in Gnome. Thisswitches to a transparent SVG which looks much nicer.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
s390/ipl: Fix spurious errors in virtio
With the ccw ipl code sometimes an error message like"virtio: trying to map MMIO memory" or"Guest moved used index from %u to %u" appeared. Turns outthat the ccw bios did not zero out the vring, which mightcause stale values in avail->idx and friends, especially...
update seabios to release 1.7.2.2
git shortlog from 1.7.2.1
Asias He (2): virtio-scsi: Pack struct virtio_scsi_{req_cmd,resp_cmd} virtio-scsi: Set _DRIVER_OK flag before scsi target scanning
Kevin O'Connor (1): Cache boot-fail-wait to avoid romfile access after POST....
Merge branch 's390-for-upstream' of git://github.com/agraf/qemu
S390: BIOS boot from given device
Use the passed device, if there is no device, use the first applicable device.
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>Signed-off-by: Alexander Graf <agraf@suse.de>
s390: update s390-ccw.img
Now that we have boot device selection support, update the firmwareblob accordingly.
Signed-off-by: Alexander Graf <agraf@suse.de>
pseries: Update SLOF firmware image
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>...
Update OpenBIOS images
Update OpenBIOS images to OpenBIOS 1.1 release (SVN r1136) built fromsubmodule.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
S390: ccw firmware: Add start assembly
We want to write most of our code in C, so add a small assemblystub that jumps straight into C code for us to continue booting.
S390: ccw firmware: Add main program
This C file is the main driving piece of the s390 ccw firmware. Itprovides a search for a workable block device, sets it as the defaultto boot off of and boots from it.
S390: ccw firmware: Add sclp output
In order to communicate with the user, we need an I/O mechanism that hecan read. Implement SCLP ASCII support, which happens to be the defaultin the s390 ccw machine.
This file is missing read support for now. It can only print messages....
S390: ccw firmware: Add virtio device drivers
In order to boot, we need to be able to access a virtio-blk device throughthe CCW bus. Implement support for this.
S390: ccw firmware: Add glue header
Like all great programs, we have to call between different functions indifferent object files. And all of them need a common ground of defines.
Provide a file that provides these defines.
S390: ccw firmware: Add bootmap interpreter
On s390, there is an architected boot map format that we can read toboot a certain entry off the disk. Implement a simple reader for thisthat always boots the first (default) entry.
S390: ccw firmware: Add Makefile
This patch adds a makefile, so we can build our ccw firmware. Alsoadd the resulting binaries to .gitignore, so that nobody is annoyedthey might be in the tree.
s390-ccw.img: replace while loop with a disabled wait on s390 bios
dont waste cpu power on an error condition. Lets stop the guestwith a disabled wait.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>Signed-off-by: Alexander Graf <agraf@suse.de>
s390-ccw.img: Take care of the elf->img transition
We have to call strip with s390-ccw.elf as input ands390-ccw.img as output
s390-ccw.img: Fix compile warning in s390 ccw virtio code
Lets fix this gcc warning:
virtio.c: In function ‘vring_send_buf’:virtio.c:125:35: error: operation on ‘vr->next_idx’ may be undefined[-Werror=sequence-point]
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>...
s390-ccw.img: Detect devices with stsch.
stsch is the canonical way to detect devices. As a bonus, we canabort the loop if we get cc 3, and we need to check only the validdevices (dnv set).
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>Signed-off-by: Alexander Graf <agraf@suse.de>
s390-ccw.img: Enhance drain_irqs().
- Use tpi + tsch to get interrupts.- Return an error if the irb indicates problems.
s390-ccw.img: Rudimentary error checking.
Try to handle at least some of the errors that may happen.
s390-ccw.img: Get queue config from host.
Ask the host about the configuration instead of guessing it.
S390: ccw firmware: Add compiled blob
Now that we have all the source code ready, add a compiled blob intothe QEMU source tree, so that people without access to an s390 compilercan run the s390-ccw firmware.
hw: move headers to include/
Many of these should be cleaned up with proper qdev-/QOM-ification.Right now there are many catch-all headers in include/hw/ARCH dependingon cpu.h, and this makes it necessary to compile these files per-target.However, fixing this does not belong in these patches....
ipxe: update binaries
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Add efi rom binaries
update seabios to 1.7.2.1
Alex Williamson (3): seabios q35: Enable all PIRQn IRQs at startup seabios q35: Add new PCI slot to irq routing function seabios: Add a dummy PCI slot to irq mapping function
Avik Sil (1): USB-EHCI: Fix null pointer assignment...
Revert "Update OpenBIOS images"
This reverts commit 10442558ab1797bfbb01285b909e34c5cf038f12.
With the updated OpenBIOS image, -M g3beige fails to boot quik.
Signed-off-by: Alexander Graf <agraf@suse.de>Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>...
Update OpenBIOS images to SVN r1097 built from submodule.
bios: recompile BIOS
SeaBIOS is really close to spilling over to 256k. Until we can betterhandle migration across RAM block size changes, recompile SeaBIOS witha compiler that causes the binary to still fit in 128k.
This was built with:
gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC)...
seabios: update to 1.7.2 release
Not that many changes as we have a pretty recent git snapshot in masteralready:
Hannes Reinecke (1): megasas: Invert PCI device selection
Kevin O'Connor (2): Minor: Separate UUID display from F12 boot prompt....
Update seabios to a810e4e72a0d42c7bc04eda57382f8e019add901
git shortlog:
Kevin O'Connor (6): floppy: Minor - reduce handle_0e code size when CONFIG_FLOPPY is disabled. vga: Minor comment spelling fix. Don't recursively evaluate CFLAGS variables....
Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf
pseries: Update SLOF for NVRAM support
Now that we have implemented PAPR compatible NVRAM interfaces in qemu, thisupdates the SLOF firmware to actually initialize and use the NVRAM as aPAPR guest firmware is expected to do.
This SLOF update also includes an ugly but useful workaround for a bug in...
seabios: update to e8a76b0f225bba5ba9d63ab227e0a37b3beb1059
This patch updates seabios to latest git master. Changes:
(1) q35 patches merged. (2) some acpi cleanups. (3) fixes irq 8 conflict.
(3) makes this a candidate for the stable branch
Cc: qemu-stable@nongnu.org...
Merge remote-tracking branch 'kraxel/seabios-b1c35f2' into staging
seabios: update binaries in pc-bios/
multiboot: fix e801 memory map
The e801 memory sizes in the multiboot structures hard-code the availablelow memory to 640. However, the value should not include the size of theEBDA. Fill the value in the option ROM, getting the size of low memoryfrom the BIOS....
Update OpenBIOS PPC image
Update OpenBIOS PPC image to SVN r1063 to fix issues introduced bycommit 9e56edcf. The code change in this revision only affects PPC,so OpenBIOS SPARC images are not updated.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Update OpenBIOS images to SVN r1062. Build with GCC 4.6.0in order to avoid boot problems introduced by GCC 4.7.[01].
This updates SLOF to handle the necessary device tree properties for MSIand MSI-X.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>Signed-off-by: Alexander Graf <agraf@suse.de>
pseries: Update SLOF
This patch updates the SLOF version, introducing a number of fixes: * add proper graphics support * fix bugs with graphical terminal under grub2 * fix bugs in handling of 64-bit unit addresses * fix VSCSI representation to be closer to PowerVM...
update seabios to latest master
Upstream seabios commit 5a023065388287e261ae9212452ff541f9fa9cd3
Major changes since 1.7.0: - Usual share of bugfixes and cleanups ;) - Support for 64bit PCI bars and mapping those above 4G. - Stack switching for real mode irq handlers to reduce...
qemu-keymaps: Finnish keyboard mapping broken
As mentioned in http://bugs.debian.org/660154 , finnish keyboard mappingis kind of broken. Fix it as Timo Sirainen suggests in #660154.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
PPC: e500: dt: create /soc8544 node dynamically
PPC: e500: dt: create serial nodes dynamically
PPC: e500: dt: create global-utils node dynamically
PPC: e500: dt: create pci node dynamically
PPC: e500: dt: start with empty device tree
Now that all of the device tree bits are generated during runtime, wecan get rid of the device tree blob and instead start from scratch withan empty device tree.
PPC: e500: dt: create memory node dynamically
PPC: e500: dt: create /cpus node dynamically
PPC: e500: dt: create /hypervisor node dynamically
PPC: e500: dt: create / node dynamically
pc-bios: Update OpenBIOS images
Update OpenBIOS images to r1060 built from submodule.
pc-bios: update OpenBIOS images
Update OpenBIOS images to SVN r1056.
sdl: Add QEMU mascot icon for use with SDL
This is a bitmap file (32x32x4) derived from the official QEMU mascot(which was designed by Benoît Canet). I stripped the text from the SVGto get a nearly square image and converted the result to BMP withoutany manual optimization....
seabios: update to 1.7.0
Update roms/seabios and pc-bios/bios.bin to the 1.7.0 release.Most noticable new feature is virtio-scsi support.
signrom: Rewrite as python script
Now that we have a hard dependency on python anyway, we can replace theslow shell script to calculate the option ROM checksum with a fast ANDportable python version. Tested both with python 2.7 and 3.1.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Merge remote-tracking branch 'qemu-kvm/memory/urgent' into staging
This patch updates the SLOF firmware image used on the pseriesmachine. The new version adds support for Cirrus VGA and virtfs, aswell as including a number of bugfixes.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>...
Update seabios to 1.6.3.2
pc-bios: update kvmvapic.bin
Signed-off-by: Avi Kivity <avi@redhat.com>
kvmvapic: Use optionrom helpers
Use OPTION_ROM_START/END from the common header file, add comment toinit code.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Avi Kivity <avi@redhat.com>
kvmvapic: Simplify mp/up_set_tpr
The CH registers is only written, never read. So we can remove theseoperations and, in case of up_set_tpr, also the ECX push/pop.
optionsrom: Reserve space for checksum
Always add a byte before the final 512-bytes alignment to reserve thespace for the ROM checksum.
kvmvapic: Add option ROM
This imports and builds the original VAPIC option ROM of qemu-kvm.Its interaction with QEMU is described in the commit that introduces thecorresponding device model.
optionroms: Silence intermediate file removal
The build process of optionroms spits out an "rm ..." line. Moreover, itremoves all .o files that can be handy for debugging purposes. Sodisable automatic intermediate removal.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>...
pseries: SLOF PCI flag day
Currently on the pseries machine the SLOF firmware is used normally,but we bypass it when -kernel is specified. Having these two
different boot paths can cause some confusion.
In particular at present we need to "probe" the (emulated) PCI bus and...
PPC: Bamboo: recompile device tree
Recent dtc doesn't compile our dts anymore. Change all hex numbers to have0x prefixes, indicate the old version and recompile using recent dtc.
This doesn't change any semantics in the device tree.
seabios: Update to release 1.6.3.1
User visible changes in seabios: - Probe HPET existence (fix for -no-hpet) - Probe PCI existence (fix for -machine isapc) - usb: fix boot paths
Fix spelling in comments, documentation and messages
accidently->accidentallyannother->anotherchoosen->chosenconsideres->considersdecriptor->descriptordevelopement->developmentparamter->parameterpreceed->precedepreceeding->precedingpriviledge->privilege...
Convert keymap file to UTF-8 encoding
Most QEMU files either are pure ASCII or use UTF-8.Convert this keymap file which still used ISO-8859-1 to UTF-8.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
add sgabios blob and submodule
The rom was not added together with the sgabios device and isnot installed.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This patch is a general update to the SLOF firmware image used on thepseries machine. This doesn't contain updates for specific features butcontains a number of bugfixes and enhancements in the main SLOF tree fromThomas Huth....
This patch updates the SLOF submodule and precompiled image. The newSLOF versions contains two changes of note:
target-alpha: Add custom PALcode image for CLIPPER emulation.
MPC8544DS: Remove CPU nodes
We want to generate the CPU nodes in machine init code, so remove them fromthe device tree definition that we precompile.
Add OpenBIOS as a submodule
Update OpenBIOS images to r1047 built from submodule.
seabios: update to master
commit 8e301472e324b6d6496d8b4ffc66863e99d7a505
user visible changes in seabios: * ahci is enabled by default (and thus in this build). * bootorder support for ahci. * two-pass pci allocator (orders bars by size for better packing)....
Update OpenBIOS images for Sparc32 and Sparc64
Update Sparc32 and Sparc64 OpenBIOS images to SVN revision 1045.
PPC: update openbios firmware
There were some changes upstream to account for broken usage of mtmsr, sobefore applying the mtmsr patch we need to update OpenBIOS, otherwise thePPC target would break.
PPC: mpc8544ds: Add hypervisor node
When running a PPC guest with KVM that can do PV operations, we needto indicate the guest which instructions to use for a hypercall andthat it is running as KVM guest.
This logic was available on openbios based machines already. This patch...
PPC: E500: Implement reboot controller
When Linux reboots an e500 VM, it writes to a magic register in the"global-utilities" device indicated by the device tree. We were notemulating that device so far, rendering the VM reboot-less.
This patch implements that device with only the reboot functionality...
s390x: update zipl rom
The zipl bootloader rom we have has seen some dramatic speedups upstream,so let's update it to improve the experience when booting a guest image.
This binary is based on commit id 9a0842dd9823d529f721b418d554f17c72e009e3.
PXE: Refresh all PXE ROMs from the ipxe submodule
Add script to make this easy to repeat later.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
PXE: Use consistent naming for PXE ROMs
And add missing ROMs to tarbin build target.
pc-bios/spapr-rtas.bin: remove executable flag
Add SLOF-based partition firmware for pSeries machine, allowing more boot options
Currently, the emulated pSeries machine requires the use of the-kernel parameter in order to explicitly load a guest kernel. Thismeans booting from the virtual disk, cdrom or network is not possible....
Implement hcall based RTAS for pSeries machines
On pSeries machines, operating systems can instantiate "RTAS" (Run-TimeAbstraction Services), a runtime component of the firmware which implementsa number of low-level, infrequently used operations. On logical partitions...
pc-bios: update linuxboot.bin and multiboot.bin
fix linuxboot.bin and multiboot.bin to not hijack int19
Currently linuxboot.bin and multiboot.bin option roms override int19vector to intercept boot process. No sane option rom should do that.Provide bev entry instead that will be called by BIOS if option rom...
seabios: update to latest git
- cc97564 Add config option to permit running option roms with bad checksums. - 424f217 Add config option to disable MTRR initialization. - fb2f10d Prep version for next release. - f18b09b Update version to 0.6.2 - 20fcf9b lets pretend that RTC can be used to wakeup from S4...
microblaze: Add PetaLogix ml605 MMU little-endian ref design
Add the first Microblaze little endian platform.Platform uses uart16550, axi ethernet, timer, intc.
Signed-off-by: Michal Simek <monstr@monstr.eu>Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
Update SeaBIOS to 0.6.1.2
- 06d0bdd Minor build fixes. - 33abfc0 Update version to 0.6.1.2. - 484dd56 fix virtio-blk failure after reboot - dd9c0d3 Update version to 0.6.1.1. - 50ecfa8 mark irq9 active high in DSDT