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
Update OpenBIOS images to SVN r1097 built from submodule.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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].
pseries: Update SLOF firmware image
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
Signed-off-by: Alexander Graf <agraf@suse.de>
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.
Signed-off-by: Richard Henderson <rth@twiddle.net>
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
Update OpenBIOS images to r1018
Add scripts directory
Move build and user scripts into scripts directory.
add bepo (french dvorak) keyboard layout
I'm using the Qemu program with VNC I/O, and I had some problems withmy keyboard layout, so I've prepared a definition to be included inQemu, built from Xorg description.
Signed-off-by: Frédéric Boiteux <fboiteux@free.fr>...
spice: add qxl vgabios binary.
Just compiled from vgabios git repo @ git.qemu.org,copyed over and committed. Also added to the listof blobs in the Makefile.
Merge remote branch 'origin/master' into pci
Conflicts: Makefile.objs hw/virtio.c
eepro100: Use a single rom file for all i825xx devices
Patching the rom data during load (in qemu) nowalso supports i82801 (which had no rom file).
We only need a single rom file for the whole device family,so remove the second one which is no longer needed....
optionrom: fix bugs in signrom.sh
signrom.sh has multiple bugs:
- the last byte is considered when calculating the existing checksum, but not when computing the correction- apprently the 'expr' expression overflows and produces incorrect results with...
Add new vgabios binaries to blobs list.
aliguori: update VGA BIOS
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
seabios: Update to 0.6.1
- 0ff9051 Update version to 0.6.1 - 9c000e6 Support Samsung SE-S084 USB DVD drive (and probably many others) - eebe949 pciinit: remove unused variable, old_addr, in pci_set_io_region_addr(). - 06644f4 Minor - indentation change to jpeg.c....
ppc: remove video.x
Only Mac-on-Linux stuff used video.x, OpenBIOS does not need it.
Remove video.x MoL hacks.
Signed-off-by: Alexander Graf <agraf@suse.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Sparc: update OpenBIOS images to r859
Update Sparc32 and Sparc64 OpenBIOS images to SVN revision 859.
Bring also pc-bios/README up to date including the update performed by419ef5f1c6a9614e8ddcb0b0f826de692e7e4a43.
PPC: Update openbios binary to r859
This updates the openBIOS binary to r589, adding support for PPC PV featurepass-through in KVM.
Update PPC, Sparc32 and Sparc64 OpenBIOS images to r821.
Update SeaBIOS
- 17d3e46 smbios: Allow all fields to be set via qemu_cfg_smbios_load_field() - 0d6b8d5 seabios: pciinit: use pci device initializer helper function. - 968d3a8 seabios: pci: introduce helper function to initialize a given device. - 4e0daae virtio: Clear interrupt status register in virtio-blk...
Update PPC, Sparc32 and Sparc64 OpenBIOS images to R795.
Fix multiboot compilation
Commit dd4239d6574ca41c94fc0d0f77ddc728510ffc57 broke multiboot. It replaced theinstruction "rep insb (%dx), %es:(%edi)" by the binary output of"addr32 rep insb (%dx), %es:(%di)".
Linuxboot calls the respective helper function in a code16 section. So the...
target-s390: add firmware code
This patch adds a firmware blob to the S390 target. The blob is a simpleimplementation of a virtio client that tries to read the second stagebootloader from sectors described as of offset 0x20 in the MBR.
In combination with an updated zipl this allows for booting from virtio...
- 7d09d0e Fix virtio compile errors on various gcc versions. - 89acfa3 Support for booting from virtio disks - 6d66316 smbios: avoid counting io hole as ram - e5cd945 Fix error causing USB HID "boot" protocol to not be enabled. - 0e88576 Add support for USB mice....
Update OpenBIOS images to r771
Update PowerPC OpenBIOS image to r721
Update to latest SeaBIOS
- 8f469b9 Dynamically allocate ata_channel info; introduce custom atadrive_s struct. - 575ffc8 Cleanup - build drive description in temp memory during init.
eepro100: Support gpxe boot for all eepro100 devices
Only two boot ROM files are needed for all devices.
pc-bios: update to latest Seabios
- 0360e8e Seabios e820 reservation portion v3 - 7149fc8 Initial support for booting from USB drives. - 3c160dd Introduce helper functions for finding USB end-points. - 9571439 USB UHCI cleanups. - a4bd919 Minor - arrange struct drive_s to clarify field roles....
Update OpenBIOS images to r683
Sparc32: Update OpenBIOS image to r666
Fixes the boot problem introduced by r665 image in694b9309462f07307d16f492961f01271f10c245.
Update Sparc OpenBIOS images to r665
Update to SeaBIOS 0.5.1
5da6833 Update version to 0.5.1 669c991 Fix sign error preventing incorrect memory over 4gig calculation. 7e6bd3e Minor - better indent assembler in int1587. 48cf232 Add comment explaining why mptable is in low memory. 643062f Add int1589 support....
pc-bios: Update README (SeaBIOS)
The PC BIOS no longer comes from Bochs.This patch updates the related entry.
V2 - Modify SeaBIOS description and URL (Thanks to Gleb Natapov for the hint).
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
linuxboot: fix gdt address calculation
The gdt address calculation in linuxboot.bin is broken in two ways: firstit loads %cs into %eax, but that instruction leaves the high bits of %eaxundefined and we did not clear them. Secondly, we completely ignore the...