From: Avi Kivity [EMAIL PROTECTED]
--
To unsubscribe from this list: send the line unsubscribe kvm-commits in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Andrea Arcangeli [EMAIL PROTECTED]
This allows the mmu notifier code to run unalias_gfn with only the
mmu_lock held. Only alias writes need the mmu_lock held. Readers will
either take the slots_lock in read mode or the mmu_lock.
Signed-off-by: Andrea Arcangeli [EMAIL PROTECTED]
From: Avi Kivity [EMAIL PROTECTED]
Signed-off-by: Avi Kivity [EMAIL PROTECTED]
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 58cea40..94a2165 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -903,6 +903,7 @@ int kvm_dev_ioctl_check_extension(long ext)
case
From: Andrea Arcangeli [EMAIL PROTECTED]
This allows reading memslots with only the mmu_lock hold for mmu
notifiers that runs in atomic context and with mmu_lock held.
Signed-off-by: Andrea Arcangeli [EMAIL PROTECTED]
Signed-off-by: Avi Kivity [EMAIL PROTECTED]
diff --git a/arch/x86/kvm/x86.c
From: Andrea Arcangeli [EMAIL PROTECTED]
Synchronize changes to host virtual addresses which are part of
a KVM memory slot to the KVM shadow mmu. This allows pte operations
like swapping, page migration, and madvise() to transparently work
with KVM.
Signed-off-by: Andrea Arcangeli [EMAIL
From: Andrea Arcangeli [EMAIL PROTECTED]
Signed-off-by: Andrea Arcangeli [EMAIL PROTECTED]
Signed-off-by: Avi Kivity [EMAIL PROTECTED]
diff --git a/kernel/include-compat/linux/mmu_notifier.h
b/kernel/include-compat/linux/mmu_notifier.h
new file mode 100644
index 000..a6db4ba
--- /dev/null
From: Avi Kivity [EMAIL PROTECTED]
This can be used by kvm subsystems that are interested in when
interrupts are acked, for example time drift compensation.
Signed-off-by: Avi Kivity [EMAIL PROTECTED]
diff --git a/arch/x86/kvm/irq.c b/arch/x86/kvm/irq.c
index 0d9e552..9091195 100644
---
From: Glauber Costa [EMAIL PROTECTED]
We're currently facing timing problems in guests that do
calibration under heavy load, and then the load vanishes.
This means we'll have a much lower lpj than we actually should,
and delays end up taking less time than they should, which is a
nasty bug.
From: Marcelo Tosatti [EMAIL PROTECTED]
Based on a patch from: Ben-Ami Yassour [EMAIL PROTECTED]
which was based on a patch from: Amit Shah [EMAIL PROTECTED]
Notify IRQ acking on PIC/APIC emulation. The previous patch missed two things:
- Edge triggered interrupts on IOAPIC
- PIC reset with
Attached is a simple patch to make i2c_bus_save() put a 32-bit quantity in the
save file, which matches what i2c_bus_load() expects to pull out of the save
file later. Without this fix in place, KVM live migration fails since the
sender is only sending 1 byte while the receiver is waiting to
On Monday 28 July 2008 12:33:41 Liu Yu wrote:
I have a question that I could not think through.
While multiple qemu/kvm processes are running at the same time, how to
prevent one guest from using others' TLB? For all the guests have the
same TID=0 for userspace and TID=1 for kernel.
[...]
Hi
On Tuesday 29 July 2008 00:26:25 Ben-Ami Yassour wrote:
FROM: Avi Kivity [EMAIL PROTECTED]
This can be used by kvm subsystems that are interested in when
interrupts
are acked, for example time drift compenstation.
[Ben: add notification call to the pic and ioapic]
Signed-off-by: Avi
On Sunday 27 July 2008 10:50:38 Avi Kivity wrote:
Hollis Blanchard wrote:
Hi Avi, can these patches go upstream for 2.6.27? There's a bug fix,
the addition of hardware breakpoint functionality, and three very
significant performance improvements.
By the way, I will be on vacation for a
On Tuesday 29 July 2008 00:26:28 Ben-Ami Yassour wrote:
[Ben: fixed memory pinning]
Signed-off-by: Kay, Allen M [EMAIL PROTECTED]
Signed-off-by: Weidong Han [EMAIL PROTECTED]
Signed-off-by: Ben-Ami Yassour [EMAIL PROTECTED]
---
arch/x86/kvm/Makefile |2 +-
arch/x86/kvm/vtd.c
-Original Message-
From: Christian Ehrhardt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2008 3:03 PM
To: Liu Yu
Cc: Hollis Blanchard; [EMAIL PROTECTED];
[EMAIL PROTECTED]; kvm@vger.kernel.org
Subject: Re: [PATCH 5 of 5] kvm: powerpc: Map guest userspace
with TID=0
Hi Thomas,
--- Thomas Mueller [EMAIL PROTECTED] wrote:
- snip -
# kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc IP:1
on kvm-machine) kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot
d \
-vnc :1
On the server running;
# kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m
Hi,
anon_inode_getfd flag parameter was added after 2.6.26
following patch fixes compilation
please apply
thanks
nik
--
-
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava
tel.: +420 596 603 142
fax:+420 596 621 273
mobil: +420 777 093
Hi Alberto,
Thanks for your detail advice.
--- Alberto Treviño [EMAIL PROTECTED] wrote:
On Monday 28 July 2008 10:06:32 am you wrote:
I ran above command direct on the server as root (not remotely on
desktop)
It just hangs there on Xterm.
As it should. :-) At that point, the VM is
* On Monday 28 Jul 2008 21:56:26 Ben-Ami Yassour wrote:
+static int kvm_vm_ioctl_assign_device(struct kvm *kvm,
+ struct kvm_assigned_pci_dev *assigned_dev)
+{
+ if (pci_enable_device(dev)) {
+ printk(KERN_INFO %s: Could not enable PCI
Andrea Arcangeli wrote:
Hello,
This is the latest version of the kvm mmu notifier patch.
Thanks - applied patches 1-3; I reordered the patches so the mmu
notifier implementation is the last.
Will look at the rest later.
--
error compiling committee.c: too many arguments to function
--
* On Tuesday 29 Jul 2008 12:44:17 Yang, Sheng wrote:
On Tuesday 29 July 2008 00:26:25 Ben-Ami Yassour wrote:
FROM: Avi Kivity [EMAIL PROTECTED]
This can be used by kvm subsystems that are interested in when
interrupts
are acked, for example time drift compenstation.
[Ben: add
On Tue, 2008-07-29 at 14:49 +0530, Amit Shah wrote:
* On Monday 28 Jul 2008 21:56:26 Ben-Ami Yassour wrote:
+static int kvm_vm_ioctl_assign_device(struct kvm *kvm,
+ struct kvm_assigned_pci_dev *assigned_dev)
+{
+ if (pci_enable_device(dev)) {
+
Linus, please pull from repo branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git kvm-updates-2.6.27
to receive the mmu notifiers support for kvm. This allows the full range
of Linux virtual memory management, such as swapping and page migration,
to apply to kvm virtual
On Tuesday 29 July 2008 17:34:47 Amit Shah wrote:
* On Tuesday 29 Jul 2008 12:44:17 Yang, Sheng wrote:
On Tuesday 29 July 2008 00:26:25 Ben-Ami Yassour wrote:
FROM: Avi Kivity [EMAIL PROTECTED]
This can be used by kvm subsystems that are interested in when
interrupts
are acked,
=-
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Liu Yu
Sent: Tuesday, July 29, 2008 3:48 PM
To: Christian Ehrhardt
Cc: Hollis Blanchard; [EMAIL PROTECTED];
[EMAIL PROTECTED]; kvm@vger.kernel.org
Subject: RE: [PATCH 5 of 5] kvm: powerpc: Map
From: Andrea Arcangeli [EMAIL PROTECTED]
The reserved RAM can be mapped by virtualization software with
/dev/mem to create a 1:1 mapping between guest physical (bus) address
and host physical (bus) address. This will allow pci passthrough with
DMA for the guest using the ram with the 1:1 mapping.
This is a port to current linux-2.6.git of the previous reserved-ram
patch. Let me know if there's a chance to get this acked and
included. Anything that isn't at compile time would require much
I still think runtime would be far better. Nobody really wants
a proliferation of more weird
Andrea Arcangeli wrote:
This patch to kvm-userland.git allows to build the tree on older
kernels without mmu notifiers.
Unfortunately emulating mmu notifiers with kprobes was feasible only
for do_wp_page because it has a special property where calling the
spte invalidate before the pte
On Tue, Jul 29, 2008 at 02:43:17PM +0200, Andi Kleen wrote:
This is a port to current linux-2.6.git of the previous reserved-ram
patch. Let me know if there's a chance to get this acked and
included. Anything that isn't at compile time would require much
I still think runtime would be far
Marcelo Tosatti wrote:
The PIT injection logic is problematic under the following cases:
1) If there is a higher priority vector to be delivered by the time
kvm_pit_timer_intr_post is invoked ps-inject_pending won't be set.
This opens the possibility for missing many PIT event injections (say
Christian Ehrhardt wrote:
Applied all; thanks. I prefer to only merge bug fixes at this time for
2.6.27. As far as I can tell, patch 2 is independent of the rest so
I'll queue that. Let me know if that works.
Yes these patches are independent - for the type question you can consider
Chris Lalancette wrote:
Attached is a simple patch to make i2c_bus_save() put a 32-bit quantity in the
save file, which matches what i2c_bus_load() expects to pull out of the save
file later. Without this fix in place, KVM live migration fails since the
sender is only sending 1 byte while the
Zhang, Xiantao wrote:
Avi Kivity wrote:
Zhang, Xiantao wrote:
From c8c8c5a6b3ff943cb645f9ac4ef169490f14cd08 Mon Sep 17 00:00:00
2001 From: Zhang Xiantao [EMAIL PROTECTED]
Date: Fri, 25 Jul 2008 16:50:30 +0800
Subject: [PATCH] KVM: external module: Moving x86-speicif files to
x86
I'm not so interested to go there right now, because while this code
is useful right now because the majority of systems out there lacks
VT-d/iommu, I suspect this code could be nuked in the long
run when all systems will ship with that, which is why I kept it all
Actually at least on Intel
Christian Borntraeger wrote:
Am Sonntag, 27. Juli 2008 schrieb Avi Kivity:
This is really a no-op, since s390 will nack a KVM_CAP_SET_TSS_ADDR
query. Of course, the change is an improvement.
@@ -92,8 +92,11 @@ int get_free_slot(kvm_context_t kvm)
if (tss_ext 0)
On Tue, Jul 29, 2008 at 04:30:42PM +0300, Avi Kivity wrote:
A 64-bit guest would pin all pages anyway as soon as it touched them the
first time, through the direct map.
Linux indeed, ok!
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL
2008/7/29 Chris Lalancette [EMAIL PROTECTED]:
Attached is a simple patch to make i2c_bus_save() put a 32-bit quantity in the
save file, which matches what i2c_bus_load() expects to pull out of the save
file later. Without this fix in place, KVM live migration fails since the
sender is only
Mohammed Gamal wrote:
This patch is *not* meant to be merged. This patch fixes the random
crashes with gfxboot and it doesn't crash anymore at random
instructions.
It mainly does two things:
1- It handles all possible exit reasons before exiting for VMX failures
2- It handles vmentry failures
On Tue, Jul 29, 2008 at 03:55:26PM +0300, Avi Kivity wrote:
Sometimes the guest leaves the timer enabled but the output pin masked,
(e.g. it doesn't use the timer bug doesn't bother to turn it off
properly). This results in extraneous interrupts, causing unnecessary
vmexits and
On 7/29/08, Avi Kivity [EMAIL PROTECTED] wrote:
Mohammed Gamal wrote:
This patch is *not* meant to be merged. This patch fixes the random
crashes with gfxboot and it doesn't crash anymore at random
instructions.
It mainly does two things:
1- It handles all possible exit reasons
Hi, Mathieu -
[...]
Currently, [my merge plan] looks like :
In Ingo's trees :
- Tracepoints, scheduler tracepoints instrumentation, ftrace port to
tracepoints
- Should make it into 2.6.27 since ftrace needs those.
[...]
This is the tracepoints infrastructure, and ...
Short-term
Forgot to add something in my last response: Another time-based oddity
I'm seeing in multi-processor guests is the microseconds value changing
as the process is moved between the vcpus.
The attached code exemplifies what I mean. In a RHEL3 VM with 2 vcpus,
start the program with an argument of
On Tuesday 29 July 2008, andrzej zaborowski wrote:
2008/7/29 Chris Lalancette [EMAIL PROTECTED]:
Attached is a simple patch to make i2c_bus_save() put a 32-bit quantity
in the save file, which matches what i2c_bus_load() expects to pull out
of the save file later. Without this fix in
2008/7/29 Paul Brook [EMAIL PROTECTED]:
On Tuesday 29 July 2008, andrzej zaborowski wrote:
2008/7/29 Chris Lalancette [EMAIL PROTECTED]:
Attached is a simple patch to make i2c_bus_save() put a 32-bit quantity
in the save file, which matches what i2c_bus_load() expects to pull out
of the
andrzej zaborowski wrote:
2008/7/29 Paul Brook [EMAIL PROTECTED]:
No they aren't. I2C also supports 10-bit addressing.
Addresses in qemu are still = 8-bit, for example i2c_slave_load()
assumes this and current i2c api users do.
But for the save/restore format, if the spec can
I experienced random hangs during the install (stracing kvm shows no
system calls, and it appears to be spinning at 100% CPU), but eventually
I got an install that ran all the way to completion. However, that
image seems to hang every time shortly after boot starts. I see the
Windows
2008/7/28 Henrik Holst [EMAIL PROTECTED]:
Since this probably is due to something in qemu it would be great if
the release-log to kvm could include towards which revision of the
qemu svn repository that was merged. Or am I to understand that the
merge was performed on the same day as the new
I built with debugging symbols, and this seems to be an issue with SCSI
disk emulation. The traceback is:
#0 0x7fc086d7dd10 in memcpy () from /lib/libc.so.6
#1 0x004a319b in cpu_physical_memory_rw (addr=108661608,
buf=0x7fff904ca190 \224['\206\210\030z\006I�A, len=4,
Nikola Ciprich wrote:
Hi,
anon_inode_getfd flag parameter was added after 2.6.26
following patch fixes compilation
please apply
thanks
nik
diff -Naur kvm-72/kernel/anon_inodes.c
Should that be = for future use?
nope, newer versions have also the flag parameter (see 2.6.27-rcX), so this is
intended only for 2.6.26
--
-
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava
tel.: +420 596 603 142
fax:+420 596 621 273
On Tuesday 29 July 2008 01:39:53 pm you wrote:
I built with debugging symbols, and this seems to be an issue with SCSI
disk emulation.
The problem might be related to this bug report:
http://sourceforge.net/tracker/index.php?func=detailaid=1895893group_id=180599atid=893831
Marcelo Tosatti
Hi all
I ran into a problem testing live migration.
I have two Identical Dell R200 Intel Boxes with 4G RAM and 2.5Ghz Intel
CPUs (Quad-Cores).
I identically installed Ubuntu Intrepid Alpha-3 x86_64 (OK - a bit on
the bleeding edge, but offers kvm-71 at the moment).
As a guest OS I use Ubunte
Marcelo Tosatti wrote:
The in-kernel PIT emulation can either inject too many or too few
interrupts.
While it's an improvement, the in-kernel pit is still not perfect. For
example, on pit frequency changes the
pending count should be recalculated and matched to the new frequency. I
also
On Tue, Jul 29, 2008 at 03:00:06PM -0700, Roland Dreier wrote:
Known problem:
http://www.nabble.com/LSI:-avoid-infinite-loops-p17116605.html
Windows driver has scripts code which busy loops on main memory. Since
that executes in vcpu context, the cpu won't ever get a chance to change
Hi folks,
Please advise where can I find the archives of this mailing list. I
can't discover it on;
http://vger.kernel.org/vger-lists.html#kvm
TIA
B.R.
Stephen L
Send instant messages to your online friends http://uk.messenger.yahoo.com
--
To unsubscribe from this list: send the line
Archives are on gmane at:
http://news.gmane.org/gmane.comp.emulators.kvm.devel
It's also documented on the KVM Wiki at:
http://kvm.qumranet.com/kvmwiki/Lists%2C_IRC
Dave Waters
Stephen Liu wrote:
Hi folks,
Please advise where can I find the archives of this mailing list. I
can't
Avi Kivity wrote:
Zhang, Xiantao wrote:
Avi Kivity wrote:
Zhang, Xiantao wrote:
From c8c8c5a6b3ff943cb645f9ac4ef169490f14cd08 Mon Sep 17 00:00:00
2001 From: Zhang Xiantao [EMAIL PROTECTED]
Date: Fri, 25 Jul 2008 16:50:30 +0800
Subject: [PATCH] KVM: external module: Moving x86-speicif
Hi Guys,
We are pleased to announce version 0.9.1 of ConVirt which adds KVM
management, a brand new wiki, plugin development guide and some critical bug
fixes.
For more information, please visit ConVirt website at http://www.convirt.net
ConVirt Team
--
To unsubscribe
BTW I tried using if=ide to install Windows XP and got a blue screen
during the installer. What are people doing to run XP in a kvm guest?
Are you using a recent version of kvm-userspace/kernel modules? Please
save the blue screen and mail it to the list or fill a bug.
Pretty
BTW I tried using if=ide to install Windows XP and got a blue screen
. during the installer. What are people doing to run XP in a kvm guest?
Funnily enough installing XP SP2 with if=ide worked fine on an Intel
host. I notice that I left off -std-vga on the working install too (I
used it on
Known problem:
http://www.nabble.com/LSI:-avoid-infinite-loops-p17116605.html
I tried this hack (and actually made the magic insns number 500), and
doing an XP install I got
lsi_scsi: error: Reselect with pending DMA
do you have any feeling if this is because the script execution got
Per subject; if autoport is in use for a host, the current
virDomainGraphicsDefFormat code always emits port=-1, even if a port
is assigned to the host; this leaves no way for a client to find the VNC
port assigned to the host in question.
diff --git a/src/domain_conf.c b/src/domain_conf.c
* On Tuesday 29 July 2008 15:26:45 Yang, Sheng wrote:
On Tuesday 29 July 2008 17:34:47 Amit Shah wrote:
rename irq_request_opaque to struct* kvm in struct kvm_pic, and
modify all irq_request() calling(three of them in all) with (void
*)kvm.
'opaque' fields can be later made to point
63 matches
Mail list logo