Jes Sorensen wrote:
On 03/23/10 13:45, Anthony Liguori wrote:
I don't think we can pull in:
- extboot
- ia64
- in-kernel pit[1]
- associated command line options
- device passthrough
The question is, if we dropped those things, would people actually
use qemu.git instead of
Hi, all
We are working on the scalability work for KVM guests, and found one big
issue exists in linux scheduler and it may impact guest's performance and
scalability a lot for some special workloads running in VM. In the current
Linux scheduler, there are some features to enhance App's
Avi Kivity wrote:
(copying lkml and some scheduler folk)
On 04/10/2010 11:16 AM, Zhang, Xiantao wrote:
Hi, all
We are working on the scalability work for KVM guests, and found
one big issue exists in linux scheduler and it may impact guest's
performance and scalability a lot for some
Avi Kivity wrote:
On 04/12/2010 05:04 AM, Zhang, Xiantao wrote:
What was the performance hit? What was your I/O setup (image
format, using aio?)
The issue only happens when vcpu number is over-committed(e.g.
vcpu/pcpu2) and physical cpus are saturated. For example, when run
webbench
Avi Kivity wrote:
On 04/13/2010 03:50 AM, Zhang, Xiantao wrote:
Avi Kivity wrote:
On 04/12/2010 05:04 AM, Zhang, Xiantao wrote:
What was the performance hit? What was your I/O setup (image
format, using aio?)
The issue only happens when vcpu number is over-committed(e.g.
vcpu
Avi Kivity wrote:
On 04/14/2010 06:24 AM, Zhang, Xiantao wrote:
Spin loops need to be addressed first, they are known to kill
performance in overcommit situations.
Even in overcommit case, if vcpu threads of one qemu are not
scheduled or pulled to the same logical processor
Srivatsa Vaddagiri wrote:
On Thu, Apr 15, 2010 at 03:33:18PM +0200, Peter Zijlstra wrote:
On Thu, 2010-04-15 at 11:18 +0300, Avi Kivity wrote:
Certainly that has even greater potential for Linux guests. Note
that we spin on mutexes now, so we need to prevent preemption while
the lock owner
So you mean Sles11-ia64 will include it ?
Xiantao
-Original Message-
From: kvm-ia64-ow...@vger.kernel.org [mailto:kvm-ia64-ow...@vger.kernel.org] On
Behalf Of Alexander Graf
Sent: Wednesday, December 09, 2009 2:59 PM
To: Zhang, Xiantao
Cc: a...@redhat.com; kvm-i...@vger.kernel.org; kvm
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, Avi
This patchset intends to enable kvm/ia-64 to build kvm
components in userspace. You know, current userspace code only
supports x86 to build kvm components, but kvm/ia64 have to build kvm
modules and qemu separately. In this way
Avi Kivity wrote:
Zhang, Xiantao wrote:
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, Avi
This patchset intends to enable kvm/ia-64 to build kvm
components in userspace. You know, current userspace code only
supports x86 to build kvm components, but kvm/ia64 have to build
kvm
Avi Kivity wrote:
Zhang, Xiantao wrote:
I agree that for automatic testing it's more of a burden; but it
needs to be done, especially as some kvm features are only enabled
on newer kernels.
The external module is convenient, but it's not a substitute for
the real thing.
So, I have
From 989c9551664988535608bb4051e654ffe5e5ddb0 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 2 Jul 2008 17:04:19 +0800
Subject: [PATCH] KVM: external module: Allow non-x86 archs to build in
userspace.
This patch targets for allowing kvm/ia64 to build in userspace.
For
From ce37b613776ea71ed2c75c8302985aecb5e6799f Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 11 Jul 2008 13:13:52 +0800
Subject: [PATCH] KVM: userspace: Enable rpm build for kvm/ia64
Enable make rpm for kvm/ia64.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
Avi Kivity wrote:
Zhang, Xiantao wrote:
From 03ac444d1ab4446c587e8180ceaba60b9e75b28d Mon Sep 17 00:00:00
2001 From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 11 Jul 2008 10:13:08 +0800
Subject: [PATCH] KVM: external module: Moving x86-speicif files to
x86 directory.
Create x86
Julia Lawall wrote:
From: Julia Lawall [EMAIL PROTECTED]
There is a call to local_irq_restore in the normal exit case, so it
would
seem that there should be one on an error return as well.
The semantic patch that finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
From d02ea89423a206e5a11b1bae01fee505580b0225 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 2 Jul 2008 17:04:19 +0800
Subject: [PATCH] KVM: external module: Allow non-x86 archs to build in
userspace.
This patch targets for allowing kvm/ia64 to build in userspace.
For
From 6fb440d06a4527bd9b49f2a27cc443b3adc51dbd Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 11 Jul 2008 13:13:52 +0800
Subject: [PATCH] KVM: userspace: Enable rpm build for kvm/ia64
Enable make rpm for kvm/ia64.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
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
directory.
Create x86 directory to hold x86-specific files.
Signed-off
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
Yang, Sheng wrote:
On Sunday 27 July 2008 17:46:26 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
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
From 40df689b23263ffe2f2efed9950700d42f985b29 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 12 Aug 2008 08:15:10 +0800
Subject: [PATCH] KVM:Userspace: Fix build issue for IA64.
1. Generating asm-offset.h @ build time with host kernel
2. Make -C user doesn't support for
From 40df689b23263ffe2f2efed9950700d42f985b29 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 12 Aug 2008 08:15:10 +0800
Subject: [PATCH] KVM:Userspace: Fix build issue for IA64.
Generating asm-offset.h @ build time with host kernel.
Signed-off-by: Xiantao Zhang [EMAIL
From d53dfacedea40213382694229700d02bfa72d923 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 19 Aug 2008 17:33:21 +0800
Subject: [PATCH] KVM: KVM/IA-64: Fix kvm/ia64's build issue.
Disable irq ack notification for ia64.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
OK, also fine to me! Attached the updated patch.
Thanks
Xiantao
Avi Kivity wrote:
Zhang, Xiantao wrote:
From d53dfacedea40213382694229700d02bfa72d923 Mon Sep 17 00:00:00
2001 From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 19 Aug 2008 17:33:21 +0800
Subject: [PATCH] KVM: KVM/IA-64: Fix kvm
From 217ca6cfa90524d011fb219efcc0ac4e8a5b5e20 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 20 Aug 2008 18:46:14 +0800
Subject: [PATCH] KVM: Userspace: Make make sync get correct header
files with latest Linux source.
In latest linux repo, ia64, s390 and other archs
Hi, Avi
Since ia64 has supported userspace's build, could we include ia64
bits in next release?
Thanks
Xiantao
Avi Kivity wrote:
The big change is of course full swapping support, finally delivering
the full range of Linux memory management operations to kvm. You will
need a 2.6.27 host
Avi,
Please drop the previous one due to its incompleteness, and help to
check-in this one.
Xiantao
From ae0e1b37520f6aba051b5ebb47028520383ca494 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Thu, 21 Aug 2008 17:30:32 +0800
Subject: [PATCH] KVM: Userspace: Make make
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, Avi
Since ia64 has supported userspace's build, could we include ia64
bits in next release?
I updated my scripts. I'll send you a test tarball via private mail
to see I hadn't missed any files.
Great! I will guarantee it can work well
Avi Kivity wrote:
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, AviSince ia64 has supported userspace's build, could we
include ia64 bits in next release?
I updated my scripts. I'll send you a test tarball via private mail
to see I hadn't missed any files.
Better a link: http
Hi, Avi
Please help to apply this patch. It will fix kvm/ia64's networking
issue.
Thanks
Xiantao
From fe6e28ce9295acba107438979fe6ead0d24f7e20 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 22 Aug 2008 17:14:15 +0800
Subject: [PATCH] KVM: Qemu: Enable kvm/ia64's
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, Avi
Please help to apply this patch. It will fix kvm/ia64's
networking issue. Thanks
Xiantao
From fe6e28ce9295acba107438979fe6ead0d24f7e20 Mon Sep 17 00:00:00
2001 From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 22 Aug 2008 17:14:15 +0800
, level);
+#endif
+
for (;;) {
bus = pci_dev-bus;
irq_num = bus-map_irq(pci_dev, irq_num);
--
1.5.1
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Avi Kivity
Sent: Sunday, August 24, 2008 5:51 PM
To: Zhang, Xiantao
Cc: [EMAIL PROTECTED
Avi Kivity wrote:
Zhang, Xiantao wrote:
From 2c14c54eed790553fddbcb3970f0967a4aa79dca Mon Sep 17 00:00:00
2001 From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 23 Aug 2008 10:21:06 +0800
Subject: [PATCH] KVM: kvm/ia64: select ANON_INODES
PREEMPT_NOTIFIERS, once virtualization configured
From 31f8488afa4336362464ed5b9f0c84a9a0fd0c94 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 25 Aug 2008 18:57:39 +0800
Subject: [PATCH] KVM:Qemu: Enable virtio for kvm/ia64.
Enable virtio-blk for kvm/ia64.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
Maybe vtd.c should be put @ virt/kvm so that ia64 can share it to avoid
future code move.
Thanks
Xiantao
Amit Shah wrote:
From: Ben-Ami Yassour [EMAIL PROTECTED]
Based on a patch by: Kay, Allen M [EMAIL PROTECTED]
This patch enables PCI device assignment based on VT-d support.
When a
--git a/kernel/hack-module.awk b/kernel/x86/hack-module.awk
similarity index 100%
rename from kernel/hack-module.awk
rename to kernel/x86/hack-module.awk
--
1.5.1
Zhang, Xiantao wrote:
Avi Kivity wrote:
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, AviSince ia64 has supported userspace's build
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, Avi
A updated version. Please review again. Thanks.
Xiantao
From 689bdb4c0506a1b6b24e9c481634593052ee2cc0 Mon Sep 17 00:00:00
2001 From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 26 Aug 2008 19:20:03 +0800
Subject: [PATCH] KVM: external
Dietmar Maurer wrote:
Compiling latest version 74 give me (on debian 4.0):
/home/dietmar/pve/pve-kvm-2.6.24/kvm-74/qemu/qemu-kvm.c: In function
'kvm_setup_guest_memory':
/home/dietmar/pve/pve-kvm-2.6.24/kvm-74/qemu/qemu-kvm.c:821: error:
'MADV_DONTFORK' undeclared (first use in this
Dietmar Maurer wrote:
Well, I guess I need to update my kernel headers
Yeah :)
-Ursprüngliche Nachricht-
Von: Zhang, Xiantao [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 28. August 2008 13:01
An: Dietmar Maurer; kvm@vger.kernel.org
Betreff: RE: MADV_DONTFORK undeclared
From 297fb289f827e7921ae105d3a8ff79ca4c43a03a Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 29 Aug 2008 10:55:26 +0800
Subject: [PATCH] kvm: Qemu: Fix a typo.
VGA_RAM_SIZE - GFW_SIZE.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
qemu/hw/ipf.c |2 +-
1 files
Resend. Privious one forgets to remove debug info. Sorry!
Xiantao
From 8c032c78665745ef421a75d2a9465d392f068c93 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 30 Aug 2008 08:36:03 +0800
Subject: [PATCH] kvm/ia64: Qemu : Add get/set_mpstate for Ipf.
Add get/set_mpstate
From 6039f279745733c52b291ec45c69eca028567c62 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sun, 31 Aug 2008 14:27:23 +0800
Subject: [PATCH] KVM: Qemu: Set default pm_io_base to 0x1f40.
The firmware of kvm/ia64 use 0x1f40 as default pm_io_base,
and doesn't have re-configure
Avi Kivity wrote:
Zhang, Xiantao wrote:
From 6039f279745733c52b291ec45c69eca028567c62 Mon Sep 17 00:00:00
2001 From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sun, 31 Aug 2008 14:27:23 +0800
Subject: [PATCH] KVM: Qemu: Set default pm_io_base to 0x1f40.
The firmware of kvm/ia64 use 0x1f40
Avi Kivity wrote:
Zhang, Xiantao wrote:
Avi Kivity wrote:
Zhang, Xiantao wrote:
From 6039f279745733c52b291ec45c69eca028567c62 Mon Sep 17 00:00:00
2001 From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sun, 31 Aug 2008 14:27:23 +0800
Subject: [PATCH] KVM: Qemu: Set default pm_io_base to 0x1f40
Jes Sorensen wrote:
Hi,
This one kills a few missing prototype warnings during compile time
on ia64. These are always risky given that the Linux ia64 text and
data segments are outside the 32bit window
cheers,
Jes
Thanks Jes! Maybe we should do more investigations on such code,
For kvm/ia64, kvm-intel module is relocated to an special address space
which is isolated from host address space, so it can't call printk of
host kernel. For printk support, we firstly log the printk output to a
log buffer, and on every vm exit vcpu helps to print the log to host
kernel log
From 664b02928d8243def2acabe99b33eb5fad77bad1 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 5 Sep 2008 11:04:24 +0800
Subject: [PATCH] kvm/ia64: Add printk support for kvm-intel modules.
Since this module will be reloated to an isolated address
space from host side, so
From 854b17c64d425c685160d50686bd15fcf5e862bd Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 5 Sep 2008 19:02:32 +0800
Subject: [PATCH] kvm/ia64: Add show_registers for kvm-intel.
Add show_registers for kvm-intel, and call it to show
registers once vm panic.
From b0c2d5e90957341b6f1e13bc80d2bc77e9aa01be Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 6 Sep 2008 10:51:37 +0800
Subject: [PATCH] kvm/ia64: external module: Add printk support for
kvm-intel.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
kernel/Makefile
Hi, Amit
---
libkvm/libkvm-x86.c | 14 +
libkvm/libkvm.h | 27 ++
qemu/Makefile.target|1 +
qemu/hw/device-assignment.c | 600
+++
qemu/hw/device-assignment.h | 94 +++ qemu/hw/isa.h
|2 +
Resend.
Avi,
Please help to apply it, Thanks!
Xiantao
From 8df3865407420142f1e367616ca41ebf0a4e6e29 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 9 Sep 2008 22:47:55 +0800
Subject: [PATCH] kvm/ia64: Add printk support for kvm-intel modules.
Since this
From 854b17c64d425c685160d50686bd15fcf5e862bd Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 5 Sep 2008 19:02:32 +0800
Subject: [PATCH] kvm/ia64: Add show_registers for kvm-intel.
Add show_registers for kvm-intel, and call it to show
registers once vm panic.
Avi Kivity wrote:
Zhang, Xiantao wrote:
Resend.
Avi,
Please help to apply it, Thanks!
Xiantao
(sorry for the late review)
Since this module will be reloated to an isolated address
space from host side, so kvm-intel can't call printk of host
kernel. This patch implements
Kivity wrote:
Zhang, Xiantao wrote:
+static void vcpu_print_vmm_log(void)
+{
+ unsigned int slot;
+
+ spin_lock(vmm_log-log_lock);
You're going to impact scalability with this. Are per-vcpu logs
workable?
OK, I will change it to per-vcpu style to avoid this possible
scalability
From 83aad940031be99047ddefefda28fc38c24a4a8b Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 12 Sep 2008 20:23:11 +0800
Subject: [PATCH] kvm/ia64: Implement an uniform vps interface.
An uniform entry kvm_vps_entry is added for
vps_sync_write/read,
From d98f59097f2c94a6a4bd29163ee1fcb33553db47 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 13 Sep 2008 06:21:22 +0800
Subject: [PATCH] kvm/ia64: Add the support for Tukwila processors.
In Tukwila processor, VT-i has been enhanced in its
implementation, it is often
Alexander Graf wrote:
KVM as is assumes that the kernel obj dir and the kernel source dir
are at the same location. This is true for most self-built vanilla
kernels, but some distributions split these up (e.g. SUSE).
To keep compatible and have users have a good experience on building
KVM on
Alexander Graf wrote:
On Sep 16, 2008, at 9:22 AM, Zhang, Xiantao wrote:
Alexander Graf wrote:
KVM as is assumes that the kernel obj dir and the kernel source dir
are at the same location. This is true for most self-built vanilla
kernels, but some distributions split these up (e.g. SUSE
Seems it lacks device-assignment.[c,h] ?
Xiantao
Amit Shah wrote:
[This still doesn't include some fixes to review comments.
I'm posting this just so that people can use this to test
or base their work off the latest patch.]
From: Or Sagi [EMAIL PROTECTED]
From: Nir Peleg [EMAIL PROTECTED]
Amit Shah wrote:
[This still doesn't include some fixes to review comments.
I'm posting this just so that people can use this to test
or base their work off the latest patch.]
From: Or Sagi [EMAIL PROTECTED]
From: Nir Peleg [EMAIL PROTECTED]
From: Amit Shah [EMAIL PROTECTED]
From: Ben-Ami
Amit Shah wrote:
* On Wednesday 17 Sep 2008 11:24:52 Zhang, Xiantao wrote:
Amit Shah wrote:
[This still doesn't include some fixes to review comments.
I'm posting this just so that people can use this to test
or base their work off the latest patch.]
From: Or Sagi [EMAIL PROTECTED]
From
Amit Shah wrote:
* On Wednesday 17 Sep 2008 12:03:54 Zhang, Xiantao wrote:
Could you move this part to libkvm.c? it should be shared by all
archs, I think.
Yes, I have noted this comment from you when you sent it previously
as well; sorry for not having replied then.
When are you
From 80c85020dbb421053270b029c0bc4ca2a995f2e5 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 17 Sep 2008 15:10:37 +0800
Subject: [PATCH] kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when
initalize acpi.
Fix windows boot issue with acpi enabled.
Signed-off-by:
Alexander Graf wrote:
On Sep 16, 2008, at 12:22 PM, Zhang, Xiantao wrote:
Alexander Graf wrote:
On Sep 16, 2008, at 9:22 AM, Zhang, Xiantao wrote:
Alexander Graf wrote:
KVM as is assumes that the kernel obj dir and the kernel source
dir are at the same location. This is true for most
Hi, Avi
Seems this patch is missing after merging with Qemu upstream,
please help to apply it again.
Xiantao
From a6703684b67518ca614bbd2c23060d8f502136ce Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Thu, 18 Sep 2008 14:07:00 +0800
Subject: [PATCH] kvm/ia64: Qemu
From c7e6b365ce145caead0355b87e873c3180a47c5b Mon Sep 17 00:00:00 2001
From: Zhang xiantao [EMAIL PROTECTED]
Date: Thu, 11 Sep 2008 13:19:32 +0800
Subject: [PATCH] kvm/vt-d: Moving vtd.c from arch/x86/kvm/ to virt/kvm/
Preparation for kvm/ia64 VT-d support.
Signed-off-by: Zhang xiantao [EMAIL
From 6840c86b777e4a561cc3df7222cf5eb0b0bb9226 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 27 Sep 2008 10:59:36 +0800
Subject: [PATCH] kvm: Moving device_assignment logic to kvm_main.c
To share with other archs, this patch moves device_assignment
logic to common
From 3211cc7a86ba050114733f847361478ab25619d7 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 27 Sep 2008 10:55:40 +0800
Subject: [PATCH] kvm: Changing is_mmio_pfn to kvm_is_mmio_pfn, and make
it common
for all archs.
Using kvm prefix to aovid polluting kernel's name
From bb0c01b997d16ff1c1b9b0e797a581577c385b54 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 29 Sep 2008 10:59:30 +0800
Subject: [PATCH] kvm: Split arch/x86/kvm/irq.c to two parts.
Moving irq ack notification logic as common, and make
it shared with ia64 side.
From 458f35267872176ed470fd6c5156ccc874ce1dfe Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 27 Sep 2008 11:46:36 +0800
Subject: [PATCH] kvm: Moving irqchip_in_kernel from ioapic.h to irq.h
Moving irqchip_in_kernel from ioapic.h to irq.h.
Signed-off-by: Xiantao Zhang
If the vt-d patchset is picked up, please apply this patch to
userspace.git for external module support.
From 36c21b2cb81077b176c7447ccc77ce2823c79af5 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 29 Sep 2008 11:54:31 +0800
Subject: [PATCH] kvm: External module:
-arch.irq_ack_notifier_list);
+}
+
+void kvm_unregister_irq_ack_notifier(struct kvm *kvm,
+struct kvm_irq_ack_notifier *kian)
+{
+ hlist_del(kian-link);
+}
--
1.5.1
Zhang, Xiantao wrote:
In order to enable vt-d suport for kvm/ia64 guests, I worked out the
patchset to make
Avi Kivity wrote:
Zhang, Xiantao wrote:
+
+/* This should be called with the kvm-lock mutex held */
+void kvm_set_irq(struct kvm *kvm, int irq, int level) +{
+/* Not possible to detect if the guest uses the PIC or the
+ * IOAPIC. So set the bit in both. The guest will ignore
:
* On Monday 29 Sep 2008 10:56:58 Zhang, Xiantao wrote:
From c459cae4b89b445a2b85be915b269676b6ff394f Mon Sep 17 00:00:00
2001 From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 27 Sep 2008 12:52:35 +0800
Subject: [PATCH] kvm/ia64: Make pmt table be able to hold physical
mmio entries.
Don't try to do
Avi Kivity wrote:
Zhang, Xiantao wrote:
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 4269be1..9acf34a 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -383,7 +383,9 @@ struct kvm_trace_rec {
#define KVM_CAP_MP_STATE 14
#define KVM_CAP_COALESCED_MMIO 15
));
}
EXPORT_SYMBOL_GPL(kvm_set_pfn_accessed);
void kvm_get_pfn(pfn_t pfn)
{
- if (!is_mmio_pfn(pfn))
+ if (!kvm_is_mmio_pfn(pfn))
get_page(pfn_to_page(pfn));
}
EXPORT_SYMBOL_GPL(kvm_get_pfn);
--
1.5.1
Zhang, Xiantao wrote:
From
Avi Kivity wrote:
Zhang, Xiantao wrote:
Avi Kivity wrote:
Zhang, Xiantao wrote:
+
+/* This should be called with the kvm-lock mutex held */
+void kvm_set_irq(struct kvm *kvm, int irq, int level) +{
+ /* Not possible to detect if the guest uses the PIC or the
+ * IOAPIC. So set
Okay, I will modify it to use variable size.
-Original Message-
From: Avi Kivity [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 9:19 PM
To: Zhang, Xiantao
Cc: [EMAIL PROTECTED]; Avi Kivity; kvm@vger.kernel.org
Subject: Re: [PATCH][1/3] kvm/ia64: Add printk support for kvm
Avi Kivity wrote:
Zhang, Xiantao wrote:
Since linux-ia64 DMAR is not ready in kvm.git, and it should be in
linux-ia64.git. So it should be in kvm.git once Avi merged with
upstream, so I didn't enable it for kvm/ia64 now. You know, S390
has no pci support, so if we put the code in kvm_mainc
Hi, Avi
I have rebased the patchset according to your comments, it can
be applied to current tip of kvm.git. Please review again and apply if
no other concerns. Thanks!
Xiantao
[PATCH 1/8] kvm/vt-d: Moving vtd.c from arch/x86/kvm/ to virt/kvm/
[PATCH 2/8] kvm: Moving device_assignment
From e2a97bd0c64b446336b0995126e1e8df2eda9a00 Mon Sep 17 00:00:00 2001
From: Zhang xiantao [EMAIL PROTECTED]
Date: Thu, 11 Sep 2008 13:19:32 +0800
Subject: [PATCH] kvm/vt-d: Moving vtd.c from arch/x86/kvm/ to virt/kvm/
Preparation for kvm/ia64 VT-d support.
Signed-off-by: Zhang xiantao [EMAIL
From 7b6a86a9308844dcd7357fc41b8de83644ebd49b Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 6 Oct 2008 13:47:38 +0800
Subject: [PATCH] kvm: Moving device_assignment logic to kvm_main.c
To share with other archs, this patch moves device_assignment
logic to common parts.
From 1f68c87622830b375a9dc5a14e740ba7e74b8182 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 27 Sep 2008 10:55:40 +0800
Subject: [PATCH] kvm: Changing is_mmio_pfn to kvm_is_mmio_pfn, and make
it common
for all archs.
Using kvm prefix to aovid polluting kernel's name
From 720dab659e581adba3a7846db6d2f612ffcd83a0 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 6 Oct 2008 13:48:45 +0800
Subject: [PATCH] kvm: Split arch/x86/kvm/irq.c to two parts.
Moving irq ack notification logic as common, and make
it shared with ia64 side.
From d8e586869041110bb43f05d7cce722240fa3abda Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 27 Sep 2008 11:46:36 +0800
Subject: [PATCH] kvm: Moving irqchip_in_kernel from ioapic.h to irq.h
Moving irqchip_in_kernel from ioapic.h to irq.h.
Signed-off-by: Xiantao Zhang
From 4a736a2b6c4771fa1683d75156db61c1e9ffadba Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 3 Oct 2008 14:58:09 +0800
Subject: [PATCH] kvm/ia64: Make pmt table be able to hold physical mmio
entries.
Don't try to do put_page once the entries are mmio.
Set the tag to
Avi Kivity wrote:
Zhang, Xiantao wrote:
From 720dab659e581adba3a7846db6d2f612ffcd83a0 Mon Sep 17 00:00:00
2001 From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 6 Oct 2008 13:48:45 +0800
Subject: [PATCH] kvm: Split arch/x86/kvm/irq.c to two parts.
Moving irq ack notification logic as common
Hi, Sheng
Since these macros are just used by kvm, and considering cross-arch
support, could you move these stuff to include/linux/kvm_host.h ? So
they can be shared for x86 and ia64.
Thanks
Xiantao
Sheng Yang wrote:
Signed-off-by: Sheng Yang [EMAIL PROTECTED]
---
Sheng Yang wrote:
On Wednesday 08 October 2008 16:48:11 Zhang, Xiantao wrote:
Hi, Sheng
Since these macros are just used by kvm, and considering
cross-arch support, could you move these stuff to
include/linux/kvm_host.h ? So they can be shared for x86 and ia64.
Thanks
Xiantao
I
Han, Weidong wrote:
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, Avi
I have rebased the patchset according to your comments, it can
be applied to current tip of kvm.git. Please review again and apply
if no other concerns. Thanks! Xiantao
[PATCH 1/8] kvm/vt-d: Moving vtd.c from arch/x86
Hi, Avi
Please also pick up this patch to userspace to compile irq_comm.c for
external module.
Xiantao
-Original Message-
From: Zhang, Xiantao
Sent: Monday, September 29, 2008 1:27 PM
To: [EMAIL PROTECTED]; kvm@vger.kernel.org
Cc: [EMAIL PROTECTED]
Subject: kvm: External module
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, Avi
I have fixed it on my ia32 machine but seems forget to commit
it.Okay, I will retest it before sending out the new one.
If it's just a small fix, please send and incremental patch and I will
merge it with the patch it fixes.
Yes
CONFIG_X86 is defined to compile every qemu's objects, so even if
unifdef doesn't work, we shouldn't meet the problems related to this
header file. Maybe other pential issues casues the problem you met.
Anyway we had better enable unifdef to work in its right way. :)
BTW, seems unifdef can't
The following patch should solve the issue you met before unifdef gets
work again.
diff --git a/libkvm/config-i386.mak b/libkvm/config-i386.mak
index 2706b70..3579985 100644
--- a/libkvm/config-i386.mak
+++ b/libkvm/config-i386.mak
@@ -1,6 +1,6 @@
LIBDIR := /lib
CFLAGS += -m32
-CFLAGS +=
Hi, Amit
If your test goes well, I will check it for ia64 side. Thanks!
Xiantao
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Amit Shah
Sent: Monday, October 13, 2008 3:31 PM
To: Sheng Yang
Cc: avi; kvm; Zhang, Xiantao
Subject: [v2] Shared
Hi, Avi
Please apply this urgent fix for 2.6.28 merge. Thanks!
Xiantao
From 532592ce64bbebb6d824fb528c281f4f3e0ee49f Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 13 Oct 2008 18:37:49 +0800
Subject: [PATCH] kvm/ia64: Makefile fix for forcing to re-generate
Hi, Amit/Sheng
See the comments below.
Xiantao
Amit Shah wrote:
Sheng, can you check if this is fine? I'll need some time to test
this.
Amit
index 71e37a5..6f0af16 100644
--- a/arch/x86/kvm/irq.h
+++ b/arch/x86/kvm/irq.h
@@ -32,6 +32,8 @@
#define PIC_NUM_PINS 16
* interrupts. Sharing host devices with guest-assigned
devices
--
1.5.1
Zhang, Xiantao wrote:
Amit Shah wrote:
* On Wednesday 15 Oct 2008 12:41:17 Sheng Yang wrote:
On Wednesday 15 October 2008 15:03:39 Amit Shah wrote:
* On Wednesday 15 Oct 2008 08:06:30 Sheng Yang wrote:
@@ -4115,6 +4116,9
Hi, Avi
This is the key fix for 2.6.28 merge. Without this patch, guest
may hang once configured with more than 2 vcpus, it is because x86 side
changed the halt handling's common logic, but it misses to change ia64
side.
Thanks
Xiantao
From 82b5626f9e3e422e1cd4352ecdff08c1c0dd394e Mon
1 - 100 of 221 matches
Mail list logo