Hi, Avi
This patch should be a fix for v2.6.26. Otherwise, guests can't
enable networking.
Xiantao
From df3a290e438b3079edb3627f2fea3e1fdd85b5f2 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 14 May 2008 19:44:57 +0800
Subject: [PATCH] KVM: KVM/IA64: Set
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, Avi
This patch should go into RC1, otherwise it will block kvm/ia64
userspace build.
diff --git a/include/asm-ia64/kvm.h b/include/asm-ia64/kvm.h index
eb2d355..62b5fad 100644 --- a/include/asm-ia64/kvm.h
+++ b/include/asm-ia64/kvm.h
One way would be to define a new kvm_ia64_fpreg and use that. Seems
that the standard ia64_fpreg is unusable in userspace due to the issue
you mentioned.
Better way. Attached the patch.
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 7 May 2008 17:37:32 +0800
Subject: [PATCH] KVM: kvm/ia64
Critical fix for kvm/ia64 build. Issue introduced by
ea696f9cf37d8ab9236dd133ddb2727264f3add6.
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 7 May 2008 17:34:52 +0800
Subject: [PATCH] KVM: kvm/ia-64: GVMM module shouldn't link the
position-dependent objects.
Create two files: memset.S and
From a9f479197f0a0efa45a930309fad03fd690cba60 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Thu, 8 May 2008 10:16:05 +0800
Subject: [PATCH] KVM: Qemu : IA-64 build fix.
Remove unexisting header inclusion, and set correct phys_ram_size
for ipf machine.
Signed-off-by: Xiantao
Avi,
Please drop the previous one due to a wrong attachment.
Xiantao
From a9f479197f0a0efa45a930309fad03fd690cba60 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Thu, 8 May 2008 10:16:05 +0800
Subject: [PATCH] KVM: Qemu : IA-64 build fix.
Remove unexisting header
Hi, Avi
This patch should go into RC1, otherwise it will block kvm/ia64
userspace build.
Xiantao
From 55584a9ecdfbea61ab90014c9cc14c5a22b696dd Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 5 May 2008 12:49:35 +0800
Subject: [PATCH] KVM: KVM/ia64: built fix for kvm
Compared with V9, just fixed indentation issues in patch 12. I put it
the patchset in
git://git.kernel.org/pub/scm/linux/kernel/git/xiantao/kvm-ia64.git
kvm-ia64-mc10. Please help to review.
Specially, the first two patches (TR Management patch and
smp_call_function_mask patch) needs Tony's
From b0c5c7fc45bbe0f56efba28e814ccb67b8c8 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 14:34:50 +0800
Subject: [PATCH] IA64: Add API for allocating Dynamic TR resource.
Dynamic TR resource should be managed in the uniform way.
Add two interfaces for
From b4d573038915205c7b85740bf80bd0e0c82a702a Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 14:49:24 +0800
Subject: [PATCH] KVM:IA64 : VMM module interfaces.
vmm.c adds the interfaces with kvm/module, and initialize global data
area.
Signed-off-by: Xiantao
Jes Sorensen wrote:
Zhang, Xiantao wrote:
From 6b731c15afa8cec84f16408c421c286f1dd1b7d3 Mon Sep 17 00:00:00
2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:45:40 +0800
Subject: [PATCH] KVM:IA64 : Add TLB virtulization support.
vtlb.c includes tlb/VHPT virtulization
Carsten Otte wrote:
Zhang, Xiantao wrote:
Carsten Otte wrote:
Zhang, Xiantao wrote:
Hi, Carsten
Why do you think it is racy? In this function,
target_vcpu-arch.launched should be set to 1 for the first run,
and keep its value all the time. Except the first IPI to wake up
the vcpu
From fe8c760aad0b51bad533c608d23ba460f0c46446 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 14:58:47 +0800
Subject: [PATCH] KVM:IA64 Enable kvm build for ia64
Update the related Makefile and Kconfig for kvm build
Signed-off-by: Xiantao Zhang [EMAIL
From 0d698efed15759b49e78adcef085feda0a14a175 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 14:57:09 +0800
Subject: [PATCH] KVM:IA64: Add optimization for some virtulization
faults
optvfault.S Add optimization for some performance-critical
virtualization
Carsten Otte wrote:
Zhang, Xiantao wrote:
Hi, Carsten
Why do you think it is racy? In this function,
target_vcpu-arch.launched should be set to 1 for the first run, and
keep its value all the time. Except the first IPI to wake up the
vcpu, all IPIs received by target vcpu should go
From 759f98f6cb61f5f6064180562656ef052f38490c Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 14:45:06 +0800
Subject: [PATCH] KVM: IA64: Add header files for kvm/ia64.
Three header files are added:
asm-ia64/kvm.h
asm-ia64/kvm_host.h
asm-ia64/kvm_para.h
From 5c70c038c57190144390ae9d30c3d06afba103d4 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 14:59:30 +0800
Subject: [PATCH] KVM:IA64 : Add kvm sal/pal virtulization support.
Some sal/pal calls would be traped to kvm for virtulization
from guest firmware.
From 6fcd534964e91d409ee4dba39c393dc7cf019b97 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 14:53:32 +0800
Subject: [PATCH] KVM:IA64 : Add mmio decoder for kvm/ia64.
mmio.c includes mmio decoder, and related mmio logics..
Signed-off-by: Anthony Xu [EMAIL
From 365a0bb8b49354f9111b5745edb21b5e153784d9 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 15:08:29 +0800
Subject: [PATCH] KVM: IA64: A Guide about how to create kvm guests on
ia64
Guide for creating virtual machine on kvm/ia64.
Signed-off-by: Xiantao Zhang
Hi, All
According to the comments from V8, I refined the code, and worked out
the new patchset. Please help to review. Thanks! :-)
In this new version, most of typdefs are removed to comply with the
requirement of coding style. Fixed the issues found by reviewers. Thanks
for your effort!
The
From 2d624a8e44bb284224820cd61fe2f0975c029fda Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 14:50:59 +0800
Subject: [PATCH] KVM:IA64 : Add TLB virtulization support.
vtlb.c includes tlb/VHPT virtulization.
Signed-off-by: Anthony Xu [EMAIL PROTECTED]
From 7f1714377e6d5812b4557bb3ccd8268b57865952 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 14:42:00 +0800
Subject: [PATCH] KVM: IA64 : Prepare some structure definitions and
routines for kvm use.
Register structures are defined per SDM.
Add three small
For considering Jes's performance concern, I kept the old
smp_call_function, and add smp_call_function_mask separately.
Xiantao
From fe3c5deac39033fb7651ecce5df3d1dce7dd66f7 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 14:38:21 +0800
Subject: [PATCH]
Fixed. Thanks :)
Jes Sorensen wrote:
Zhang, Xiantao wrote:
From 0d698efed15759b49e78adcef085feda0a14a175 Mon Sep 17 00:00:00
2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Tue, 1 Apr 2008 14:57:09 +0800
Subject: [PATCH] KVM:IA64: Add optimization for some virtulization
faults
[EMAIL PROTECTED] wrote:
Hi,
Selon Zhang, Xiantao [EMAIL PROTECTED]:
From 5f82ea88c095cf89cbae920944c05e578f35365f Mon Sep 17 00:00:00
2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 14:48:09 +0800
Subject: [PATCH] kvm/ia64: Add mmio decoder for kvm/ia64
From 697d50286088e98da5ac8653c80aaa96c81abf87 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 31 Mar 2008 09:50:24 +0800
Subject: [PATCH] KVM:IA64: Implement smp_call_function_mask for ia64
This function provides more flexible interface for smp
infrastructure.
From cb572f8887ccfb939457c79fb2d2893ead2a3632 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 31 Mar 2008 10:08:09 +0800
Subject: [PATCH] KVM:IA64 : Add mmio decoder for kvm/ia64.
mmio.c includes mmio decoder routines.
Signed-off-by: Anthony Xu [EMAIL PROTECTED]
From a2bf407dd4dbcec75a076b9ed9a6d22ab98c54b7 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:49:38 +0800
Subject: [PATCH] KVM:IA64: add optimization for some virtulization
faults
optvfault.S adds optimization for some performance-critical
virtualization
From b0f8c3bf3b020077c14bebd9d052cec455ccedaf Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:50:13 +0800
Subject: [PATCH] KVM:IA64 : Generate offset values for assembly code
use.
asm-offsets.c will generate offset values used for assembly code
for some
From 9b38270a4c01d8cfe85cd022e22a6f5c0efe45e7 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 14:58:47 +0800
Subject: [PATCH] KVM:IA64 Enable kvm build for ia64
Update the related Makefile and KConfig for kvm build
Signed-off-by: Xiantao Zhang [EMAIL
From e9f15f3838626eacface8a863394e6b8825182be Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:42:18 +0800
Subject: [PATCH] KVM:IA64 : Add kvm sal/pal virtulization support.
Some sal/pal calls would be traped to kvm for virtulization
from guest firmware.
From b04624ce5ff919d776bf1d64b157d67410c6bc27 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:57:33 +0800
Subject: [PATCH] KVM:IA64 : How to boot up guests on kvm/ia64
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
Documentation/ia64/kvm-howto.txt |
From 03259a60f3c8104cd61f523f9ddeccce0e635782 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 09:48:10 +0800
Subject: [PATCH] KVM: IA64: Add header files for kvm/ia64.
Three header files are added:
asm-ia64/kvm.h
asm-ia64/kvm_host.h
asm-ia64/kvm_para.h
From 6b731c15afa8cec84f16408c421c286f1dd1b7d3 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:45:40 +0800
Subject: [PATCH] KVM:IA64 : Add TLB virtulization support.
vtlb.c includes tlb/VHPT virtulization.
Signed-off-by: Anthony Xu [EMAIL PROTECTED]
Jes Sorensen wrote:
Hi Xiantao,
I general I think the code in this patch is fine. I have a couple of
nit-picking comments:
+if (target_mask0x1) {
The formatting here isn't quite what most of the kernel does. It would
be better if you added spaces so it's a little easier to read,
Jes Sorensen wrote:
Zhang, Xiantao wrote:
From 697d50286088e98da5ac8653c80aaa96c81abf87 Mon Sep 17 00:00:00
2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 31 Mar 2008 09:50:24 +0800
Subject: [PATCH] KVM:IA64: Implement smp_call_function_mask for ia64
This function provides more
Akio Takebe wrote:
Hi, Xiantao
+3. Get Guest Firmware named as Flash.fd, and put it under right
place: + (1) If you have the guest firmware (binary)released by
Intel
Corp for Xen, you can use it directly.
+(2) If you want to build a guest firmware form source code.
Please download
Jes Sorensen wrote:
Hi Xiantao,
Hi, Jes
I fixed the coding style issues. Thanks!
More comments.
Zhang, Xiantao wrote:
From 696b9eea9f5001a7b7a07c0e58514aa10306b91a Mon Sep 17 00:00:00
2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 09:51:36 +0800
Subject
Carsten Otte wrote:
Zhang, Xiantao wrote:
+typedef union context {
+/* 8K size */
+chardummy[KVM_CONTEXT_SIZE];
+struct {
+unsigned long psr;
+unsigned long pr;
+unsigned long caller_unat;
+unsigned long
Carsten Otte wrote:
Zhang, Xiantao wrote:
+static struct kvm_vcpu *lid_to_vcpu(struct kvm *kvm, unsigned long
id, +unsigned long eid) +{
+ia64_lid_t lid;
+int i;
+
+for (i = 0; i KVM_MAX_VCPUS; i++) {
+if (kvm-vcpus[i
Carsten Otte wrote:
Zhang, Xiantao wrote:
+static struct kvm_vcpu *lid_to_vcpu(struct kvm *kvm, unsigned long
id, +unsigned long eid) +{
+ia64_lid_t lid;
+int i;
+
+for (i = 0; i KVM_MAX_VCPUS; i++) {
+if (kvm-vcpus[i
Hi
This patchset enables kvm on ia64 platform. And it targets for Avi's
pull to mainline. Please review. If you don't have concerns, I will ask
Avi's pull for kvm.git. Thanks!
Also, you can get it from
git://git.kernel.org/pub/scm/linux/kernel/git/xiantao/kvm-ia64.git
kvm-ia64-mc6
Tony,
From ba064fc79c5d8577543ae6e4a201f622f0c4b777 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:42:18 +0800
Subject: [PATCH] kvm/ia64: Add kvm sal/pal virtulization support.
Some sal/pal calls would be traped to kvm for virtulization
from guest firmware.
From 517a89fd248193f6a7049832e2c1b811afe98f96 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:57:33 +0800
Subject: [PATCH] kvm/ia64: How to boot up guests on kvm/ia64
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
Documentation/ia64/kvm-howto.txt |
From 6af8b4d7ca1d4ec40cc634cf8b0d5ae8d2dc53ce Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:44:37 +0800
Subject: [PATCH] kvm/ia64: VMM module interfaces.
vmm.c adds the interfaces with kvm/module, and initialize global data
area.
Signed-off-by: Xiantao
From 0639faa4a3347771e793e33652667272cc140240 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 14:58:47 +0800
Subject: [PATCH] kvm:ia64 Enable kvm build for ia64
Update the related Makefile and KConfig for kvm build
Signed-off-by: Xiantao Zhang [EMAIL
Refined according to Tony's comments.
From 837f0508a617ea0386808de9fd0f42ef4aefe5e0 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Thu, 27 Mar 2008 10:18:29 +0800
Subject: [PATCH] Add API for allocating TR resouce.
Dynamic TR resouce should be managed in an uniform way.
From 5f82ea88c095cf89cbae920944c05e578f35365f Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 14:48:09 +0800
Subject: [PATCH] kvm/ia64: Add mmio decoder for kvm/ia64.
mmio.c includes mmio decoder routines.
Signed-off-by: Anthony Xu [EMAIL PROTECTED]
From 56d3f7acf8d45d2491646be77ced344dcc516cd7 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:45:40 +0800
Subject: [PATCH] kvm/ia64: Add TLB virtulization support.
vtlb.c includes tlb/VHPT virtulization.
Signed-off-by: Anthony Xu [EMAIL PROTECTED]
From 9118d25b4e98bef3a62429f8c150e8d429396c40 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 12:58:02 +0800
Subject: [PATCH] Implement smp_call_function_mask for ia64
This function provides more flexible interface for smp
infrastructure.
Signed-off-by:
From f21b39650592fff4d07c94730b0f4e9aa093b9a8 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:50:13 +0800
Subject: [PATCH] kvm/ia64: Generate offset values for assembly code use.
asm-offsets.c will generate offset values used for assembly code
for some
From 2dbf7c93ff5e36a221761c690ff12e7be48a6bb2 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:49:38 +0800
Subject: [PATCH] kvm/ia64: add optimization for some virtulization
faults
optvfault.S adds optimization for some performance-critical
virtualization
Akio Takebe wrote:
Hi, Xiantao
a comments is below.
+// 0x3000 Entry 12 (size 64 bundles) External Interrupt (4)
+ENTRY(kvm_interrupt) +mov r31=pr// prepare to
save predicates
+mov r19=12
+mov r29=cr.ipsr
+;;
+tbit.z p6,p7=r29,IA64_PSR_VM_BIT
+
INITIAL_PSR_VALUE_AT_INTERRUPTION 0x001808028034
+
Xen also use this value, you had better use macros of PSR bits.
Or you can add the same comments as Xen.
Hi, Akio.
The comment is where it is used. Anyway, using macro is better.
Changed.
Akio Takebe wrote:
Hi, Xiantao and Anthony
+void getfpreg(unsigned long regnum, struct ia64_fpreg *fpval,
+struct kvm_pt_regs *regs)
+{
+/* Take floating register rotation into consideration*/
+if (regnum = IA64_FIRST_ROTATING_FR)
+regnum =
Akio Takebe wrote:
Hi,
I found 3 typos.
+3. Get Guest Firmware named as Flash.fd, and put it under right
place: + (1) If you have the guest firmware (binary)released by
Intel
Corp for Xen, you can use it directly.
+(2) If you want to build a guest firmware form souce code. souce
Compared with V6,
1. Updated the PATCH 01 according to Tony's comments.
2. Updated the PATCH 14 according to Akio's comments.
3. Updated the PATCH 17 according to Akio's comments.
The latest patchset is located at
git://git.kernel.org/pub/scm/linux/kernel/git/xiantao/kvm-ia64.git
kvm-ia64-mc7.
From 454e8a4473ed13ce313b2ba3b654feb926a891b7 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Wed, 12 Mar 2008 13:57:33 +0800
Subject: [PATCH] kvm/ia64: How to boot up guests on kvm/ia64
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
Documentation/ia64/kvm-howto.txt |
From 1028321e00b0f3a60fc414484754f489a70f2400 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Sat, 29 Mar 2008 09:23:37 +0800
Subject: [PATCH] Add API for allocating Dynamic TR resouce.
Dynamic TR resouce should be managed in an uniform way.
Signed-off-by: Xiantao Zhang
Avi Kivity wrote:
Hollis Blanchard wrote:
Don't compile kvm_*_pit() on architectures whose currently supported
platforms do not contain a PIT.
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]
diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
--- a/libkvm/libkvm.h
+++ b/libkvm/libkvm.h
Avi Kivity wrote:
Zhang, Xiantao wrote:
Hi, Avi
Currently, make sync in userspace only syncs x86-specific heads from
kernel source due to hard-coded in Makefile.
Do you have plan to provide cross-arch support for that?
No plans. I'll apply patches though. But don't you need kernel
Avi Kivity wrote:
Zhang, Xiantao wrote:
Avi Kivity wrote:
I see. ./configure --with-patched-kernel should work for that, but I
have no issue with copying include/asm-ia64 either.
Copy should be ugly, since it needs extral documentation to describle.
If --with-patched-kernel can call
Hi, Avi
Currently, make sync in userspace only syncs x86-specific heads from
kernel source due to hard-coded in Makefile.
Do you have plan to provide cross-arch support for that? Other archs may
need it for save/restore :)
Thanks
Xiantao
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Thu, 20 Mar 2008 10:17:29 +0800
Subject: [PATCH] kvm:qemu: qemu_system_cpu_hot_add not supported for
ia64.
Comment it out first for ia64 build.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
qemu/hw/acpi.c |4 ++--
1 files changed, 2
Hi, guys
We have created kvm-ia64.git on master.kernel.org for open development,
and the latest source is also included in this repository. So you can
clone and make contributions to it now. Cheers!!
In this repository, I created the branch kvm-ia64-mc4 to hold the
patchset. Now, the whole
Akio Takebe wrote:
Hi, Xiantao
We have created kvm-ia64.git on master.kernel.org for open
development, and the latest source is also included in this
repository. So you can clone and make contributions to it now.
Cheers!!
In this repository, I created the branch kvm-ia64-mc4 to hold
Please use the new one. Add the check for failed allocation.
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 25 Feb 2008 17:25:07 +0800
Subject: [PATCH] kvm: Using kzalloc to avoid allocating kvm_regs from
kernel stack.
Since the size of kvm_regs maybe too big to allocate from kernel stack,
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Mon, 25 Feb 2008 17:11:43 +0800
Subject: [PATCH] kvm: Using kzalloc to avoid allocating kvm_regs from
kernel stack.
Since the size of struct kvm_regs maybe too big to allocate from kernel
stack,
here use kzalloc to allocate it.
Signed-off-by: Xiantao
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 15 Feb 2008 10:50:22 +0800
Subject: [PATCH] qemu: IA64 also need to workaround tcg code.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
qemu/dyngen.c|1 -
qemu/hw/ipf.c|1 -
qemu/target-ia64/fake-exec.c |
Akio Takebe wrote:
Hi, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Tue, 29 Jan 2008 17:27:06 +0800
Subject: [PATCH] README: How to boot up guests on kvm/ia64
Guide: How to boot up guests on kvm/ia64
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED] ---
arch/ia64/kvm/README | 72
Hi, all
Thank you for your intention about kvm/ia64. Now, we have enabled
save/restore and Live migration on kvm/ia64, and will send out the
implementation after the leave for Chinese New Year!(Feb 4- Feb 11).
Thanks!
Xiantao
From: Xiantao Zhang [EMAIL PROTECTED]
Date: Fri, 1 Feb 2008 17:18:03 +0800
Subject: [PATCH] Make non-x86 arch partially support make sync.
Make non-x86 arch partially support make sync, and other archs
can get right header files for userspace.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
Unfortunately, it can's apply on tip. Could you attach the diff ?
Thanks
Xiantao
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Thu, 31 Jan 2008 12:03:39 +0800
Subject: [PATCH] Appoint kvm/ia64 Maintainers
Signed-off-by Anthony Xu [EMAIL PROTECTED]
Signed-off-by Xiantao Zhang [EMAIL PROTECTED]
---
MAINTAINERS |9 +
1 files changed, 9 insertions(+), 0 deletions
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Tue, 29 Jan 2008 14:42:44 +0800
Subject: [PATCH] kvm/ia64: add Kconfig for kvm configuration.
Kconfig adds kvm/ia64 configurations at kernel configuration
time.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
arch/ia64/kvm/Kconfig | 43
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Tue, 29 Jan 2008 14:43:32 +0800
Subject: [PATCH] kvm/ia64: Add Makefile for kvm files compile.
Adds Makefile for kvm compile.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
arch/ia64/kvm/Makefile | 61
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Tue, 29 Jan 2008 14:35:44 +0800
Subject: [PATCH] kvm/ia64: add optimization for some virtulization
faults
optvfault.S adds optimization for some performance-critical
virtualization
faults.
Signed-off-by: Anthony Xu [EMAIL PROTECTED]
Signed-off
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Tue, 29 Jan 2008 17:27:06 +0800
Subject: [PATCH] README: How to boot up guests on kvm/ia64
Guide: How to boot up guests on kvm/ia64
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
arch/ia64/kvm/README | 72
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Tue, 29 Jan 2008 14:40:41 +0800
Subject: [PATCH] kvm/ia64: Generate offset values for assembly code use.
asm-offsets.c will generate offset values used for assembly code
for some fileds of special structures.
Signed-off-by: Anthony Xu [EMAIL PROTECTED
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Thu, 17 Jan 2008 14:03:04 +0800
Subject: [PATCH] kvm: ia64 : Export some symbols out for module use.
Export empty_zero_page, ia64_sal_cache_flush, ia64_sal_freq_base
in this patch.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Tue, 29 Jan 2008 13:31:55 +0800
Subject: [PATCH] kvm/ia64: VMM module interfaces.
vmm.c adds the interfaces with kvm/module, and initialize global data
area.
Signed-off-by: Xiantao Zhang[EMAIL PROTECTED]
---
arch/ia64/kvm/vmm.c | 57
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Tue, 29 Jan 2008 13:15:05 +0800
Subject: [PATCH] kvm/ia64: Add kvm sal/pal virtulization support.
Some sal/pal calls would be traped to kvm for virtulization
from guest firmware.
Signed-off-by: Xiantao Zhang[EMAIL PROTECTED]
---
arch/ia64/kvm/kvm_fw.c
for ia64
+ *
+ * Copyright (C) 2007 Zhang Xiantao [EMAIL PROTECTED]
+ *
+ * This program is free software; you can redistribute it and/or modify
it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Thu, 31 Jan 2008 17:10:52 +0800
Subject: [PATCH] Add API for allocating TR resouce.
Dynamic TR resouce should be managed in an uniform way.
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
Signed-off-by: Anthony Xu[EMAIL PROTECTED]
---
arch/ia64/kernel
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Tue, 29 Jan 2008 14:26:29 +0800
Subject: [PATCH] kvm/ia64: Add TLB virtulization support.
vtlb.c includes tlb/VHPT virtulization.
Signed-off-by: Anthony Xu [EMAIL PROTECTED]
Signed-off-by: Xiantao Zhang [EMAIL PROTECTED]
---
arch/ia64/kvm/vtlb.c | 606
Hi, Avi/Tony
We have rebased kvm/ia64 code to latest kvm. In this version, we
have fixed coding style issues, and all patches can pass checkpatch.pl,
except one assembly header file, which is copyied from kernel, so we
didn't change its issues.
Compared with last version, we implemented
Blue Swirl wrote:
On 1/30/08, Scott Pakin [EMAIL PROTECTED] wrote:
Zhang, Xiantao wrote:
Scott Pakin wrote:
The attached patch corrects a bug in qemu/slirp/tcp_var.h that
defines the seg_next field in struct tcpcb to be 32 bits wide
regardless of 32/64-bitness. seg_next is assigned
Scott Pakin wrote:
Zhang, Xiantao wrote:
Scott Pakin wrote:
The attached patch corrects a bug in qemu/slirp/tcp_var.h that
defines the seg_next field in struct tcpcb to be 32 bits wide
regardless of 32/64-bitness. seg_next is assigned a pointer value
in qemu/slirp/tcp_subr.c, then cast back
Akio Takebe wrote:
Hi, Xiantao
void __init
diff --git a/include/asm-ia64/processor.h
b/include/asm-ia64/processor.h index be3b0ae..038642f 100644 ---
a/include/asm-ia64/processor.h +++ b/include/asm-ia64/processor.h
@@ -472,7 +472,7 @@ ia64_set_psr (__u64 psr)
{
ia64_stop();
Akio Takebe wrote:
Hi, Xiantao
+void thash_vhpt_insert(VCPU *v, u64 pte, u64 itir, u64 va, int
type) +{ + u64 phy_pte, psr;
+ia64_rr mrr;
+
+mrr.val = ia64_get_rr(va);
+phy_pte = translate_phy_pte(pte, itir, va);
+
+if (itir_ps(itir) = mrr.ps) {
+
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Thu, 31 Jan 2008 09:06:21 +0800
Subject: [PATCH] kvm: qemu: Covert the mmio address space to port io in
userspace.
IA64 also have no port io, but chipset is responsible for converting
some mmio to port io for keeping compatibility with legacy deviceS
Avi Kivity wrote:
Zhang, Xiantao wrote:
+#define TO_LEGACY_IO(addr) (((addr0x3ff) 12 2)|((addr)
0x3))
Please change to a function. Other than that, patch looks good.
Thanks ! Attached. :)
Xiantao
From: Zhang Xiantao [EMAIL PROTECTED]
Date: Thu, 31 Jan 2008 15:35:10 +0800
Anthony Liguori wrote:
This patch attempts to clean up the interactions between KVM and
QEMU. Sorry
for such a big patch, but I don't think there's a better way to
approach this
such that it's still bisect friendly. I think this is most of what's
needed to
get basic KVM support into
Scott Pakin wrote:
The attached patch corrects a bug in qemu/slirp/tcp_var.h that defines
the seg_next field in struct tcpcb to be 32 bits wide regardless of
32/64-bitness. seg_next is assigned a pointer value in
qemu/slirp/tcp_subr.c, then cast back to a pointer in
qemu/slirp/tcp_input.c
Hi, guys
We have created kvm-ia64-devel mailing list for discussing
ia64-specific topics. Cheers!! If you have topics which only belongs to
ia64, please use this list! But if you have any cross-arch questions or
topics, please cc kvm-devel for involving more persons in.
We will open the
Sure, Changed, Thanks:)
Xiantao
Akio Takebe wrote:
Hi, Xiantao and Anthony
Good news!
Could you update lists page of wiki?
http://kvm.qumranet.com/kvmwiki/Lists%2C_IRC
Best Regards,
Akio Takebe
Hi, guys
We have created kvm-ia64-devel mailing list for discussing
ia64-specific
Jes Sorensen wrote:
Zhang, Xiantao wrote:
Hi, Jes
Yes, Anthony and I are working with kernel-ia64 and kvm community to
push the patches. Since kernel should export some interface for kvm
use, we have to wait the response from kernel-ia64. But anyway, It
should be picked up in near future
Jes Sorensen wrote:
Zhang, Xiantao wrote:
Jes Sorensen wrote:
Hi Xiantao,
If you could put up the patches somewhere, I could
help you clean them up and push them. I would prefer not
to wait until they appear in Linus' tree if possible.
Hi, Jes
You don't need to wait so long. We
guest support and got more
stable status now .
Thanks
Xiantao
-Original Message-
From: Chris Wright [mailto:[EMAIL PROTECTED]
Sent: 2008年1月25日 2:53
To: Jes Sorensen
Cc: Zhang, Xiantao; kvm-devel@lists.sourceforge.net
Subject: Re: [kvm-devel] ia64 kernel patches?
* Jes Sorensen ([EMAIL
Acked-by: Zhang Xiantao [EMAIL PROTECTED]
Christian Ehrhardt wrote:
Subject: [PATCH] portability: move kvm_fpu to asm-x86/kvm.h
From: Christian Ehrhardt [EMAIL PROTECTED]
This patch moves kvm_fpu asm-x86/kvm.h to allow every architecture to
define an own representation used for KVM_GET_FPU
1 - 100 of 380 matches
Mail list logo