kvm: release: merge from trunk
........
r4366 | avi | 2007-01-31 13:12:08 +0200 (Wed, 31 Jan 2007) | 10 lines
kvm: mmu: add missing dirty page tracking cases
we fail to mark a page dirty in three cases:
- setting the accessed bit in a pte
- setting the dirty bit in a pte
- emulating a write into a pagetable
this fix adds the missing cases.
........
r4367 | avi | 2007-01-31 14:29:17 +0200 (Wed, 31 Jan 2007) | 2 lines
kvm: stats: better error reporting
........
r4368 | avi | 2007-01-31 16:57:19 +0200 (Wed, 31 Jan 2007) | 7 lines
kvm: fix lockup on 32-bit intel hosts with nx disabled in the bios
intel hosts, without long mode, and with nx support disabled in the bios
have an efer that is readable but not writable. this causes a lockup on
switch to guest mode (even though it should exit with reason 34 according to
the documentation).
........
r4369 | itaish | 2007-01-31 20:03:16 +0200 (Wed, 31 Jan 2007) | 1 line
Remove some printfs
........
r4370 | avi | 2007-02-01 10:31:16 +0200 (Thu, 01 Feb 2007) | 8 lines
kvm: move virtualization deactivation from CPU_DEAD state to CPU_DOWN_PREPARE
From: Jeremy Katz <katzj@redhat.com>
this gives it more chances of surviving suspend.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
........
r4371 | avi | 2007-02-01 10:53:25 +0200 (Thu, 01 Feb 2007) | 2 lines
kvm: fix a couple of printk()s
........
r4372 | avi | 2007-02-01 10:59:57 +0200 (Thu, 01 Feb 2007) | 2 lines
kvm: cosmetics
........
r4373 | avi | 2007-02-01 14:22:49 +0200 (Thu, 01 Feb 2007) | 9 lines
kvm: add MSR based hypercall API
From: Ingo Molnar <mingo@elte.hu>
this adds a special MSR based hypercall API to KVM. This is to be
used by paravirtual kernels and virtual drivers.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
........
r4374 | avi | 2007-02-01 14:29:04 +0200 (Thu, 01 Feb 2007) | 4 lines
kvm: add host hypercall support for vmx
From: Ingo Molnar <mingo@elte.hu>
........
r4375 | avi | 2007-02-01 14:33:27 +0200 (Thu, 01 Feb 2007) | 2 lines
kvm: cosmetics
........
r4376 | avi | 2007-02-01 14:37:51 +0200 (Thu, 01 Feb 2007) | 2 lines
kvm: add hypercall host support for svm
........
r4377 | avi | 2007-02-01 15:28:48 +0200 (Thu, 01 Feb 2007) | 2 lines
kvm: wire up hypercall handlers to a central arch-independent location
........
r4378 | dor | 2007-02-01 15:44:52 +0200 (Thu, 01 Feb 2007) | 6 lines
Fix deassert of irq level interrupt.
No one tried to deassert the pci irq. So the device kept on interrupting.
Also deassert it if someone resets the device.
Add debug ifdef instead of comments.
........
r4379 | dor | 2007-02-01 15:46:46 +0200 (Thu, 01 Feb 2007) | 5 lines
Add interrupt support:
- Add the device definitions from the hypercall device (temoprary until it shifts to a common file).
- Add irq request + isr
- Currently just print the content of the buffer in the isr
........
r4380 | dor | 2007-02-01 17:33:38 +0200 (Thu, 01 Feb 2007) | 2 lines
Use matching uchar length for reading from io port.
........
r4381 | dor | 2007-02-01 17:44:11 +0200 (Thu, 01 Feb 2007) | 3 lines
Add the tx hypercall path (guest->host).
Note that the call to hypercall_tx is only a test now (otherwise "hellow host" is an interesting protocol...)
........
r4382 | avi | 2007-02-04 09:57:11 +0200 (Sun, 04 Feb 2007) | 6 lines
kvm: fix 32-bit build
From: Anthony Liguori <anthony@codemonkey.ws>
Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
........
r4383 | avi | 2007-02-04 10:37:47 +0200 (Sun, 04 Feb 2007) | 10 lines
kvm: vmx: hack set_cr0_no_modeswitch() to actually do modeswitch
From: Markus Rechberger <markus.rechberger@amd.com>
From: Joerg Roedel <joerg.roedel@amd.com>
the whole thing is rotten, but this allows vmx to boot with the guest reboot fix.
Signed-off-by: Markus Rechberger <markus.rechberger@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
........
r4384 | avi | 2007-02-04 10:38:53 +0200 (Sun, 04 Feb 2007) | 10 lines
kvm: support guest reboot
From: Markus Rechberger <markus.rechberger@amd.com>
From: Joerg Roedel <joerg.roedel@amd.com>
allow guests on amd hosts to reboot correctly.
Signed-off-by: Markus Rechberger <markus.rechberger@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
........
r4385 | dor | 2007-02-05 17:32:55 +0200 (Mon, 05 Feb 2007) | 2 lines
Add sysfs interface for debug & development.
........
r4386 | dor | 2007-02-06 10:07:08 +0200 (Tue, 06 Feb 2007) | 3 lines
Fix kernel dir to include the determined by the configure script.
Submited by Muli Ben-Yehuda and was also noticed by Richard Voigt.
........
r4387 | avi | 2007-02-06 12:55:17 +0200 (Tue, 06 Feb 2007) | 9 lines
kvm: kvmctl: reduce pio latency for non-string out instructions
From: Anthony Liguori <anthony@codemonkey.ws>
Avoid making system calls for out{b,w,l} instructions since it is not necessary
to sync GP registers.
Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
........
r4388 | dor | 2007-02-06 18:39:33 +0200 (Tue, 06 Feb 2007) | 2 lines
Add store option for sysfs interface of hypercall pci driver.
........
r4389 | dor | 2007-02-06 18:46:17 +0200 (Tue, 06 Feb 2007) | 3 lines
Some more makefile fixes by Muli Ben-Yehuda.
Cheers.
........
r4390 | dor | 2007-02-06 18:55:54 +0200 (Tue, 06 Feb 2007) | 6 lines
Use ARRAY_SIZE macro instead of manual calculation.
From: Ahmed S. Darwish <darwish.07@gmail.com>
Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
........
r4391 | avi | 2007-02-07 10:19:08 +0200 (Wed, 07 Feb 2007) | 6 lines
kvm: libkvm: replace exit()s by error returns
From: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
........
r4392 | avi | 2007-02-07 10:20:24 +0200 (Wed, 07 Feb 2007) | 6 lines
kvm: qemu: handle error returns from libkvm
From: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
........
r4393 | avi | 2007-02-07 10:22:56 +0200 (Wed, 07 Feb 2007) | 6 lines
kvm: qemu: dont exit from kvm_get_dirty_pages on failure
From: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
........
r4394 | avi | 2007-02-07 11:04:24 +0200 (Wed, 07 Feb 2007) | 7 lines
kvm: qemu: qemu binary should depend on libkvm.a
Without this patch making a change to libkvm.a will not cause the qemu
binary to be re-linked. Tested on x86-64.
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
........
r4395 | avi | 2007-02-07 11:16:37 +0200 (Wed, 07 Feb 2007) | 11 lines
kvm: qemu: fix 32 bit guest freeze on second reboot
From: Joerg Roedel <joerg.roedel@amd.com>
This patch fixes a bug detected with 32 bit Linux guests. There the
second try to reboot hangs the guest machine. It seems to be necessary
to fix all dataseg registers for 32 bit guests. This time with a patch
attached.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
........
r4396 | avi | 2007-02-07 11:28:34 +0200 (Wed, 07 Feb 2007) | 8 lines
kvm: use page_private()/set_page_private() apis
From: Markus Rechberger <markus.rechberger@amd.com>
besides using an established api, this allows using kvm in older kernels.
Signed-off-by: Markus Rechberger <markus.rechberger@amd.com>
........
r4397 | avi | 2007-02-07 11:31:07 +0200 (Wed, 07 Feb 2007) | 6 lines
kvm: more older kernel compatibility
From: Markus Rechberger <markus.rechberger@amd.com>
Signed-off-by: Markus Rechberger <markus.rechberger@amd.com>
........
r4398 | avi | 2007-02-07 12:00:03 +0200 (Wed, 07 Feb 2007) | 9 lines
kvm: libkvm: check for KVM_GET/SET_REG ioctl failures
From: Muli Ben-Yehuda <muli@il.ibm.com>
Check for KVM_GET/SET_REGS ioctl failures (and return -errno which the
caller of kvm_run will promptely ignore).
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
........
r4399 | itaish | 2007-02-07 19:48:54 +0200 (Wed, 07 Feb 2007) | 1 line
Hypercall registers renaming.
........
22 files changed: