[COMMIT master] Move phys_addr_t definition before iommu.h inclusion

2009-05-25 Thread Avi Kivity
From: Avi Kivity a...@redhat.com iommu.h needs phys_addr_t, so make it available. Signed-off-by: Avi Kivity a...@redhat.com diff --git a/ia64/external-module-compat.h b/ia64/external-module-compat.h index bc78c3d..8ccad90 100644 --- a/ia64/external-module-compat.h +++

[COMMIT master] Define true and false bool constants

2009-05-25 Thread Avi Kivity
From: Avi Kivity a...@redhat.com Needed by iommu.h. Signed-off-by: Avi Kivity a...@redhat.com diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h index 581d867..d473ae7 100644 --- a/external-module-compat-comm.h +++ b/external-module-compat-comm.h @@ -199,6 +199,9 @@

[COMMIT master] KVM: Make paravirt tlb flush also reload the PAE PDPTRs

2009-05-25 Thread Avi Kivity
From: Avi Kivity a...@redhat.com The paravirt tlb flush may be used not only to flush TLBs, but also to reload the four page-directory-pointer-table entries, as it is used as a replacement for reloading CR3. Change the code to do the entire CR3 reloading dance instead of simply flushing the TLB.

[COMMIT master] KVM: Fix PDPTR reloading on CR4 writes

2009-05-25 Thread Avi Kivity
From: Avi Kivity a...@redhat.com The processor is documented to reload the PDPTRs while in PAE mode if any of the CR4 bits PSE, PGE, or PAE change. Linux relies on this behaviour when zapping the low mappings of PAE kernels during boot. The code already handled changes to CR4.PAE; augment it to

[COMMIT master] KVM: Allow PIT emulation without speaker port

2009-05-25 Thread Avi Kivity
From: Jan Kiszka jan.kis...@web.de The in-kernel speaker emulation is only a dummy and also unneeded from the performance point of view. Rather, it takes user space support to generate sound output on the host, e.g. console beeps. To allow this, introduce KVM_CREATE_PIT2 which controls in-kernel

[COMMIT master] libkvm: Drop redundant tpr prototypes

2009-05-25 Thread Avi Kivity
From: Jan Kiszka jan.kis...@web.de Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Avi Kivity a...@redhat.com diff --git a/target-i386/libkvm.h b/target-i386/libkvm.h index 307fbcc..081e010 100644 --- a/target-i386/libkvm.h +++ b/target-i386/libkvm.h @@ -25,31 +25,6 @@ int

[COMMIT master] Init pci_option_rom_offset for VGA BIOS absence

2009-05-25 Thread Avi Kivity
From: Jan Kiszka jan.kis...@web.de Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Avi Kivity a...@redhat.com diff --git a/hw/pc.c b/hw/pc.c index 332d48d..ee48e08 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -859,7 +859,7 @@ static void pc_init1(ram_addr_t ram_size, ram_addr_t

[COMMIT master] Merge branch 'master' of git://git.sv.gnu.org/qemu

2009-05-25 Thread Avi Kivity
From: Avi Kivity a...@redhat.com * 'master' of git://git.sv.gnu.org/qemu: (41 commits) Remove unused variable ETRAX: Removed unused struct entry and fixed Windows build. Add common BusState Fix lance segfaults Avoid errors when curl-config does not exist bios: Use the correct mask to

[COMMIT master] Refactor how display drivers are selected

2009-05-25 Thread Avi Kivity
From: Anthony Liguori aligu...@us.ibm.com My previous commit, f92f8afebe, broke -vnc (spotted by Glauber Costa). This is because it's necessary to tell when the no special display parameters have been passed and default to SDL or VNC appropriately. This refactors the display selection logic to