- Jan 11, 2010
-
-
Stefan Weil authored
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>
-
Gerd Hoffmann authored
All callers of lsi_reselect have a lsi_request struct at hand anyway. So just pass it directly instead of having lsi_reselect search for it using the tag. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Gerd Hoffmann authored
Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Gerd Hoffmann authored
Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Gerd Hoffmann authored
Right now lsi_request is allocated when a request is queued and released when a request is unqueued. With this patch applied the lsi_request is kept for the whole lifetime of the scsi request. Rationale: We can use it for per-request data then. The patch does that already for the request tag. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Gerd Hoffmann authored
Replace the funky array logic for queued commands with standard qemu list functions. Also rename lsi_queue to lsi_request. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Roland Dreier authored
Check that the cursor dimensions passed from the guest for the DEFINE_CURSOR command don't overflow the available space in the cursor.image[] or cursor.mask[] arrays before copying data from the guest into those arrays. Signed-off-by:
Roland Dreier <rolandd@cisco.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Gleb Natapov authored
Without this qemu can even start on kvm modules with events support since default value of exception_injected in zero and this is #DE exception. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Jiri Denemark authored
Late initialization of CPU topology in CPUState prevents KVM guests to actually see the topology. Signed-off-by:
Jiri Denemark <jdenemar@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Huang Ying authored
Now, if we inject a fatal MCE into guest OS, for example Linux, Linux will go panic and then reboot. But if we inject another MCE now, system will reset directly instead of go panic firstly, because MCG_STATUS.MCIP is set to 1 and not cleared after reboot. This is does not follow the behavior in real hardware. This patch fixes this via set env->mcg_status to 0 during system reset. Signed-off-by:
Huang Ying <ying.huang@intel.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
- Jan 10, 2010
-
-
Blue Swirl authored
Fixes build with PCI_DEBUG defined. Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Blue Swirl authored
Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- Jan 09, 2010
-
-
Blue Swirl authored
Avoid a ROM conflict. Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
malc authored
Previous patch introduced subtle regression, in cases when OSS_GETVERSION fails the code wasn't falling back to SNDCTL_DSP_SETFRAGMENT. Signed-off-by:
malc <av1474@comtv.ru>
-
malc authored
Signed-off-by:
malc <av1474@comtv.ru>
-
- Jan 08, 2010
-
-
Paolo Bonzini authored
This adds a few more vpath suffixes and points the remaining two paths explicitly to $(SRC_PATH) in order to eliminate the VPATH assignment from config-host.mak. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Cc: Juan Quintela <quintela@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
malc authored
This fixes a problem with a previous patch spotted by Juergen Lock, thanks to him again. Signed-off-by:
malc <av1474@comtv.ru>
-
Blue Swirl authored
libuser.a was removed by 0e8c9214. Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
cpu_check_irqs - handle SOFTINT register TICK and STICK timer bits - only check interrupt levels greater than PIL value - handle preemption by higher level traps cpu_exec - handle CPU_INTERRUPT_HARD only if interrupts are enabled - PIL 15 is not special level on sparcv9 Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
- to be used by cpu_check_irqs Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Igor V. Kovalenko authored
- pstate is 32bit variable, no need to pass 64bit value around Signed-off-by:
Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Adam Lackorzynski authored
Move multiboot loading code into separate files as suggested by Alex Graf. Signed-off-by:
Adam Lackorzynski <adam@os.inf.tu-dresden.de> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Adam Lackorzynski authored
Signed-off-by:
Adam Lackorzynski <adam@os.inf.tu-dresden.de> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Avi Kivity authored
The gdt address calculation in linuxboot.bin is broken in two ways: first it loads %cs into %eax, but that instruction leaves the high bits of %eax undefined and we did not clear them. Secondly, we completely ignore the incorrect %eax, and use the undefined %ebx instead. With these issues fixed, linuxboot works again. Signed-off-by:
Avi Kivity <avi@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Luiz Capitulino authored
Some commands return a QList of QDicts, which is valid, but will trig the assert(). Just drop it. Reported-by:
Nathan Baum <nathan@parenthephobia.org.uk> Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
François Revol authored
The disk image I created from my old laptop disk with VBoxManage internalcommand converthd obviously was not a multiple of 1MB as when created from scratch. This fixes QEMU refusing it. We still require the size to be a multiple of sector size though. It then boots correctly. Allow opening VDI images with size not multiple of 1MB (as when converted from a raw disk). Signed-off-by:
François Revol <revol@free.fr> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Michael S. Tsirkin authored
When vhost is bound to a backend device, we need to stop polling it when vhost is started, and restart polling when vhost is stopped. Add an API for that for use by vhost, and implement in tap backend. Signed-off-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
H. Peter Anvin authored
Add generic support for debugging consoles (simple I/O ports which when written to cause debugging output to be written to a target.) The current implementation matches Bochs' port 0xe9, allowing the same debugging code to be used for both Bochs and Qemu. There is no vm state associated with the debugging port, simply because it has none -- the entire interface is a single, stateless, write-only port. Most of the code was cribbed from the serial port driver. v2: removed non-ISA variants (they can be introduced when/if someone wants them, using code from the serial port); added configurable readback (Bochs returns 0xe9 on a read from this register, mimic that by default) This retains the apparently somewhat controversial user friendly option, however. v3: reimplemented the user friendly option as a synthetic option ("-debugcon foo" basically ends up being a parser-level shorthand for "-chardev stdio,id=debugcon -device isa-debugcon,chardev=debugcon") -- this dramatically reduced the complexity while keeping the same level of user friendliness. v4: spaces, not tabs. v5: update to match current top of tree. Calling qemu_chr_open() already during parsing no longer works; defer until we are parsing the other console-like devices. Signed-off-by:
H. Peter Anvin <hpa@linux.intel.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Stefan Weil authored
This makes rebuilds after source updates easier for most users (who don't edit config-devices.mak). Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Paolo Bonzini authored
The vpath directive has two advantages over the VPATH variable: 1) it allows to skip searching of .o files; 2) the default semantics are to append to the vpath, so there is no confusion between "VPATH=xyz" and "VPATH+=xyz". Since "vpath %.c %.h PATH" is not valid, I'm introducing a wrapper macro to append one or more directories to the vpath. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
malc authored
Thanks to Juergen Lock. Signed-off-by:
malc <av1474@comtv.ru>
-
- Jan 07, 2010
-
-
Blue Swirl authored
See also 821b19fe. Spotted by Artyom Tarasenko and Igor Kovalenko. Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Andreas Färber authored
Juan has contributed a cool Makefile infrastructure that enables us to drop static libraries completely: Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-}, and link those object files directly into the executables. Replace HWLIB by HWDIR, specifying only the directory. Drop --whole-archive and ARLIBS in Makefiles and configure. Drop GENERATED_HEADERS dependency in rules.mak, since this rebuilds all common objects after generating a target-specific header; add dependency rules to Makefile and Makefile.target instead. v2: - Don't try to include /config.mak for user emulators - Changes to user object paths ("Quickfix for libuser.a drop") were obsoleted by "user_only: compile everything with -fpie" (Kirill A. Shutemov) v3: - Fix dependency modelling for tools - Remove comment on GENERATED_HEADERS obsoleted by this patch Signed-off-by:
Andreas Färber <afaerber@opensolaris.org> Cc: Blue Swirl <blauwirbel@gmail.com> Cc: Palle Lyckegaard <palle@lyckegaard.dk> Cc: Ben Taylor <bentaylor.solx86@gmail.com> Cc: Juan Quintela <quintela@trasno.org> Cc: Kirill A. Shutemov <kirill@shutemov.name> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Anthony Liguori authored
02c2b87f introduced a regression whereas the foreground color in a hextile update was not being properly invalidated leading to artifacts. It's still necessary to explicitly invalidate the foreground color with a SubrectColoured tile even though we no longer send a foreground color as part of the tile. Reported-by:
Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Andreas Färber authored
Default is NO. Signed-off-by:
Andreas Färber <andreas.faerber@web.de> Signed-off-by:
malc <av1474@comtv.ru>
-