aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix extboot mergeAvi Kivity2009-05-061-3/+4
| | | | | | | | | | Last qemu merge broke extboot completely. Instead of reading the command, extboot corrupted the stack. Instead of writing back the geometry, extboot wrote nothing. Fix by reading the command correctly and writing back the results. Signed-off-by: Avi Kivity <avi@redhat.com>
* Merge branch 'master' of git://git.sv.gnu.org/qemu into masterAvi Kivity2009-04-231-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'master': (180 commits) xen: add -vga xenfb option, configure xenfb (Gerd Hoffmann) simplify vga selection (Gerd Hoffmann) xen: pv domain builder. (Gerd Hoffmann) xen: blk & nic configuration via cmd line. (Gerd Hoffmann) xen: add net backend driver. (Gerd Hoffmann) xen: add block device backend driver. (Gerd Hoffmann) xen: add framebuffer backend driver (Gerd Hoffmann) xen: add console backend driver. (Gerd Hoffmann) xen: backend driver core (Gerd Hoffmann) xen: groundwork for xen support (Gerd Hoffmann) update .gitignore: add qemu-io (Gerd Hoffmann) qcow2: Add plausibility check for L1/L2 entries (Kevin Wolf) qcow2: Refcount checking code cleanup (Kevin Wolf) Introduce qemu-img check subcommand (Kevin Wolf) Introduce bdrv_check (Kevin Wolf) qcow2: Fix warnings in check_refcount() (Kevin Wolf) sending NUMA topology to BIOS (Andre Przywara) add info numa command to monitor (Andre Przywara) added -numa cmdline parameter parser (Andre Przywara) Safety net for the cases where disassembler/translator disagree over instruction decoding ... Conflicts: Makefile Makefile.target configure cpu-all.h gdbstub.c hw/apic.c hw/cirrus_vga.c hw/eepro100.c hw/pc.c hw/pcnet.c hw/rtl8139.c hw/vga.c net.c pc-bios/bios.bin sysemu.h vl.c Signed-off-by: Avi Kivity <avi@redhat.com>
* kvm: extboot: silence compiler warningJan Kiszka2009-04-051-2/+2
| | | | Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* Fix extboot from boot with cache=offNolan Leake2009-03-221-18/+17
| | | | | | | | | | | | | | | | Extboot submits requests with whatever buffer alignment the guest gave to the BIOS. This breaks with O_DIRECT disks, as they require 512 byte alignment. Most guest bootloaders sector align their requests out of paranoia, but the OpenBSD bootloader does not. This patch always copies. Since extboot is only used at boot time to load limited amounts of data, the overhead is not problematic. I also switched to using cpu_physical_memory_* instead of groveling around with phys_ram_base directly. Signed-off-by: Nolan Leake <nolan@sigbus.net> Signed-off-by: Avi Kivity <avi@redhat.com>
* Fix kvm-originated warningsJan Kiszka2009-02-081-1/+1
| | | | | | | | This patch kills the last warnings (caused by kvm changes) that I see on a x86-64 host when building x86_64-softmmu and also i386-softmmu without kvm. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* Pass block device size to extbootAnthony Liguori2008-03-051-0/+4
| | | | | | New extboot needs the block device size. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
* Add QEMU support for extbootAnthony Liguori2008-01-031-0/+128
This patch adds support to QEMU for extboot. It requires that an extboot.bin binary be copied into the pc-bios directory or else make install will not function properly. To use extboot to boot from an arbitrary block device, simply append a ",boot=on" to the block device to boot from. For instance, to boot from a SCSI disk, one would use: -drive file=/path/to/image.img,if=scsi,boot=on Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>