exec: always use MADV_DONTFORK
MADV_DONTFORK prevents fork to fail with -ENOMEM if the defaultovercommit heuristics decides there's too much anonymous virtualmemory allocated. If the KVM secondary MMU is synchronized with MMUnotifiers or not, doesn't make a difference in that regard....
cpu: Move cpu state syncs up into cpu_dump_state()
The x86 and ppc targets call cpu_synchronize_state() from their*_cpu_dump_state() callbacks to ensure that up to date state is dumpedwhen KVM is enabled (for example when a KVM internal error occurs)....
kvm: warn if num cpus is greater than num recommended
The comment in kvm_max_vcpus() states that it's using the recommendedprocedure from the kernel API documentation to get the max numberof vcpus that kvm supports. It is, but by always returning themaximum number supported. The maximum number should only be used...
fix steal time MSR vmsd callback to proper opaque type
Convert steal time MSR vmsd callback pointer to proper X86CPU type.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
kvm irqfd: support direct msimessage to irq translation
On PPC64 systems MSI Messages are translated to system IRQ in a PCIhost bridge. This is already supported for emulated MSI/MSIX butnot for irqfd where the current QEMU allocates IRQ numbers fromirqchip and maps MSIMessages to IRQ in the host kernel....
kvmvapic: Catch invalid ROM size
If not caught early, a zero-length ROM will cause a NULL-pointer accesslater on in patch_hypercalls when allocating a zero-length ROM copy andtrying to read from it.
CC: qemu-stable@nongnu.orgSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>...
Merge remote-tracking branch 'pmaydell/tags/pull-target-arm-20130910' into staging
ARM queue: * aarch64 preparation patchset (excluding the defconfigs, so this doesn't actually enable the new targets yet) * minor bugfixes and cleanups * disable "-cpu any" in system emulation mode...
Merge remote-tracking branch 'luiz/queue/qmp' into staging
Message-id: 1378822364-13887-1-git-send-email-lcapitulino@redhat.comSigned-off-by: Anthony Liguori <anthony@codemonkey.ws>
Merge remote-tracking branch 'spice/spice.v73' into staging
Merge remote-tracking branch 'kraxel/usb.89' into staging
View all revisions | View revisions
Also available in: Atom