[kvm-devel] Physician Directory in America

2007-12-13 Thread thither Warren
Current Physicians in the United States 788,864 in total 17,521 emails 34 primary and secondary specialties Sort by over a dozen different fields This week only you pay only: $390 * Receive the items below as a Bon.US if you order this week * - Database of American Pharma

Re: [kvm-devel] [virtio-net][PATCH] Don't arm tx hrtimer with a constant 500us each transmit

2007-12-13 Thread Dor Laor
Christian Borntraeger wrote: Am Mittwoch, 12. Dezember 2007 schrieb Dor Laor: Christian Borntraeger wrote: Am Mittwoch, 12. Dezember 2007 schrieb Dor Laor: --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -406,10 +405,10 @@ again: Hmm, while I agree in

Re: [kvm-devel] [RFC] Proposed new directory layout for kvm and virtualization

2007-12-13 Thread Avi Kivity
Arnd Bergmann wrote: On Tuesday 11 December 2007, Avi Kivity wrote: Heiko Carstens wrote: On Tue, Dec 11, 2007 at 11:47:39AM +0200, Avi Kivity wrote: arch/*/kvm/ arch dependent kvm code Maybe arch/*/virt/ ? No need to add an own directory for each

Re: [kvm-devel] [PATCH] Fix SMP shadow instantiation race

2007-12-13 Thread Avi Kivity
Marcelo Tosatti wrote: There is a race where VCPU0 is shadowing a pagetable entry while VCPU1 is updating it, which results in a stale shadow copy. Fix that by comparing the contents of the cached guest pte with the current guest pte after write-protecting the guest pagetable. Applied,

Re: [kvm-devel] Is there any way to get Windbg to work with QEMU/KVM?

2007-12-13 Thread Dor Laor
[EMAIL PROTECTED] wrote: [making Windbg's serial protocol work between two VMs] Instead you might run in parallel to the VM a script that does while(1) kill -SIGIO vm_pid. The first 'kill -SIGIO' kills the whole VM instantly. kvm-55 with its own kernel module. It works for

Re: [kvm-devel] Is there any way to get Windbg to work with QEMU/KVM?

2007-12-13 Thread Uri Lublin
[EMAIL PROTECTED] wrote: G'day folks. After blindly trying applying an oldish QEMU patch mentioned here (http://www.damogran.de/blog/archives/14-WinDbg-and-QEMU.html) I got ever so slightly further, to the point that I reached the Windbg command prompt and could enter commands (e.g. '.dl').

Re: [kvm-devel] [PATCH] Fix a typo for MAX_BIOS_SIZE

2007-12-13 Thread Avi Kivity
Zhang, Xiantao wrote: Thank Young for reporting it. From: Zhang Xiantao [EMAIL PROTECTED] Date: Thu, 13 Dec 2007 08:22:19 +0800 Subject: [PATCH] kvm: qemu : Fix a typo. A typo for defieing max_bios_size. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] Applied, thanks. -- error

Re: [kvm-devel] [PATCH] LAPIC: minor debugging compile fix

2007-12-13 Thread Avi Kivity
Joerg Roedel wrote: This patch fixes a compile error of the LAPIC code with APIC debugging enabled. Applied, thanks. -- error compiling committee.c: too many arguments to function - SF.Net email is sponsored by:

Re: [kvm-devel] [PATCH] emulated cmpxchg8b should be atomic on i386

2007-12-13 Thread Avi Kivity
Marcelo Tosatti wrote: Emulate cmpxchg8b atomically on i386. This is required to avoid a guest pte walker from seeing a splitted write. Applied, thanks. -- error compiling committee.c: too many arguments to function

[kvm-devel] [PATCH] kvm-userspace: kvm_sync_icache for more architectures

2007-12-13 Thread Christian Ehrhardt
Subject: [PATCH] kvm-userspace: kvm_sync_icache for more architectures From: Christian Ehrhardt [EMAIL PROTECTED] A ia64 patch introduced kvm_sync_icache within a ifdef __ia64__, but the concept of split caches is not bound to ia64 and we would like to implement it for ppc too. The call to

Re: [kvm-devel] How can I access my usb stick

2007-12-13 Thread Itamar Heim
-usb only enables usb support. You need to either use -usbdevice from the command line, or usb_add from the monitor (alt+2) See: http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC34 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [kvm-devel] [RFC] Proposed new directory layout for kvm and virtualization

2007-12-13 Thread Carsten Otte
Avi Kivity wrote: In the case of x86, we'll have 16 arch dependent files (i8259.[ch], irq.[ch], lapic.c, mmu.c, paging_tmpl.[ch], svm.[ch], vmx.[ch], x86.[ch], x86_emulate.[ch]) which warrant a kvm/ subdirectory IMO. I think a subdirectory makes sense too. We'll end up with more than a

[kvm-devel] [PATCH] VMX: inject high priority interrupts first

2007-12-13 Thread Dor Laor
From 2e80a9eb15769443716ebd87eb2567cd0de9c84e Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Thu, 13 Dec 2007 15:07:08 +0200 Subject: [PATCH] This patch changes the order in which interrupts are injected when the in-kernel APIC is disabled. Now the IRQ with the highest priority

[kvm-devel] [ kvm-Bugs-1850037 ] SMP 8-way doesn't works, and returns incorrect error

2007-12-13 Thread SourceForge.net
Bugs item #1850037, was opened at 2007-12-13 15:25 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=1850037group_id=180599 Please note that this message will contain a full copy of

Re: [kvm-devel] [PATCH resent] virtio_net: Fix stalled inbound trafficon early packets

2007-12-13 Thread Dor Laor
Christian Borntraeger wrote: Am Mittwoch, 12. Dezember 2007 schrieb Dor Laor: I think the change below handles the race. Otherwise please detail the use case. [...] @@ -292,6 +292,9 @@ static int virtnet_open(struct net_devic return -ENOMEM;

[kvm-devel] [PATCH] Correct the highest priority order of irq injection path from userspace

2007-12-13 Thread Dor Laor
From e6fa298ad00b96fd457c737ec9e100cd3be5f02e Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Thu, 13 Dec 2007 15:09:54 +0200 Subject: [PATCH] Correct the highest priority order of irq injection from userspace. Actually this is not a must here since no more than a single

[kvm-devel] access usb thumb drive

2007-12-13 Thread Jerry Geis
I have kvm-amd running nicely. I want to access my USB thumbdrive that I plugged in. How do I do that? On my host it is /dev/sde. dmesg on my guest does not report anything when the usb drive is plugged in. I am booting with the -usb option. Thanks, Jerry

[kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Avi Kivity
This restores live migration support which has been broken for a couple of releases. Also, if you had Java problems please test kvm-56, as it has some nx related permission fixes. Changes from kvm-55: - Generalize exception handling mechanism - fix x86 emulator eflags handling - avoid exit to

Re: [kvm-devel] [3/6][PATCH] kvm: kvm structure split into common fileds and arch-dependent ones

2007-12-13 Thread Avi Kivity
Zhang, Xiantao wrote: From: Zhang Xiantao [EMAIL PROTECTED] Date: Tue, 11 Dec 2007 20:47:56 +0800 Subject: [PATCH] kvm: kvm structure split. Using macro KVM_COMM to hold kvm common fields as kvm_vcpu does. And, every arch defines its kvm structure separately. + struct kvm_vm_stat

Re: [kvm-devel] [2/6][PATCH] kvm: Moving memslot_id to x86.h

2007-12-13 Thread Avi Kivity
Zhang, Xiantao wrote: From: Zhang Xiantao [EMAIL PROTECTED] Date: Tue, 11 Dec 2007 20:45:48 +0800 Subject: [PATCH] kvm: Moving memslot_id to x86.h Since it is not called in kvm_main.c, and it also will block kvm structure split, so moved it out. memslot_id() is not x86 specific. Why

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Alexey Eremenko
-Original Message- From: [EMAIL PROTECTED] on behalf of Pelle Sent: Thu 12/13/2007 6:19 AM To: Avi Kivity Cc: kvm-devel Subject: Re: [kvm-devel] [ANNOUNCE] kvm-56 release I get the following error when modprobing the new module: I hope you did rmmod first. You need to do: rmmod

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Pelle
I get the following error when modprobing the new module: WARNING: Error inserting kvm (/lib/modules/2.6.22-14-generic/extra/kvm.ko): Unknown symbol in module, or unknown parameter (see dmesg) kvm: Unknown symbol cmpxchg64 Ubuntu 7.10 32-bits, C2D E6300 Pelle. Avi Kivity wrote: This

Re: [kvm-devel] [2/6][PATCH] kvm: Moving memslot_id to x86.h

2007-12-13 Thread Avi Kivity
Zhang, Xiantao wrote: Avi Kivity wrote: Zhang, Xiantao wrote: From: Zhang Xiantao [EMAIL PROTECTED] Date: Tue, 11 Dec 2007 20:45:48 +0800 Subject: [PATCH] kvm: Moving memslot_id to x86.h Since it is not called in kvm_main.c, and it also will block kvm structure split, so moved it

Re: [kvm-devel] [2/6][PATCH] kvm: Moving memslot_id to x86.h

2007-12-13 Thread Zhang, Xiantao
Avi Kivity wrote: Zhang, Xiantao wrote: From: Zhang Xiantao [EMAIL PROTECTED] Date: Tue, 11 Dec 2007 20:45:48 +0800 Subject: [PATCH] kvm: Moving memslot_id to x86.h Since it is not called in kvm_main.c, and it also will block kvm structure split, so moved it out. memslot_id() is not

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Avi Kivity
Pelle wrote: I get the following error when modprobing the new module: WARNING: Error inserting kvm (/lib/modules/2.6.22-14-generic/extra/kvm.ko): Unknown symbol in module, or unknown parameter (see dmesg) kvm: Unknown symbol cmpxchg64 Ubuntu 7.10 32-bits, C2D E6300 Please try the

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Pelle
Yes, unfortunately that's not it. Alexey Eremenko wrote: -Original Message- From: [EMAIL PROTECTED] on behalf of Pelle Sent: Thu 12/13/2007 6:19 AM To: Avi Kivity Cc: kvm-devel Subject: Re: [kvm-devel] [ANNOUNCE] kvm-56 release I get the following error when modprobing the new

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Alexey Eremenko
Hi Pelle! Yes, You're right, KVM-56 doesn't compiles on 32-bit systems. (tested on openSUSE 10.3, 32-bit) -Alexey Technologov - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Avi Kivity
Alexey Eremenko wrote: Hi Pelle! Yes, You're right, KVM-56 doesn't compiles on 32-bit systems. (tested on openSUSE 10.3, 32-bit) It compiles on 32-bit systems. It doesn't compile on 32-bit non-pae systems. -- error compiling committee.c: too many arguments to function

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Pelle
Patch applied, rebuild (twice) but still the same error. Avi Kivity wrote: Pelle wrote: I get the following error when modprobing the new module: WARNING: Error inserting kvm (/lib/modules/2.6.22-14-generic/extra/kvm.ko): Unknown symbol in module, or unknown parameter (see dmesg) kvm:

Re: [kvm-devel] [3/6][PATCH] kvm: kvm structure split into common fileds and arch-dependent ones

2007-12-13 Thread Zhang, Xiantao
Avi Kivity wrote: Zhang, Xiantao wrote: From: Zhang Xiantao [EMAIL PROTECTED] Date: Tue, 11 Dec 2007 20:47:56 +0800 Subject: [PATCH] kvm: kvm structure split. Using macro KVM_COMM to hold kvm common fields as kvm_vcpu does. And, every arch defines its kvm structure separately. +

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Farkas Levente
Avi Kivity wrote: This restores live migration support which has been broken for a couple of releases. Also, if you had Java problems please test kvm-56, as it has some nx related permission fixes. unfortunately 32bit centos guest still not be able to boot on 64bit host. -- Levente

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Avi Kivity
Pelle wrote: Patch applied, rebuild (twice) but still the same error. Sorry, there was a type in the patch. Please change cpmxchg64 to cmpxchg64 in kernel/external-module-compat.h, or apply the attached corrected patch on a clean kvm-56. Avi Kivity wrote: Pelle wrote: I get the

Re: [kvm-devel] [PATCH] VMX: inject high priority interrupts first

2007-12-13 Thread Dong, Eddie
This is not necessary, vector doesn;t mean priority. Remember I ever had a talk with Avi that user level irqchip could only support one vector pending in kernel like you mentioned too. On the other hand, if we have multiple pending vectors, we will lose priority. The point here is that vector

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Pelle
Ah, check. Thank you. Avi Kivity wrote: Pelle wrote: Patch applied, rebuild (twice) but still the same error. Sorry, there was a type in the patch. Please change cpmxchg64 to cmpxchg64 in kernel/external-module-compat.h, or apply the attached corrected patch on a clean kvm-56. Avi

Re: [kvm-devel] [PATCH] VMX: inject high priority interrupts first

2007-12-13 Thread Avi Kivity
Dong, Eddie wrote: This is not necessary, vector doesn;t mean priority. Remember I ever had a talk with Avi that user level irqchip could only support one vector pending in kernel like you mentioned too. On the other hand, if we have multiple pending vectors, we will lose priority. The point

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Izik Eidus
Farkas Levente wrote: Avi Kivity wrote: This restores live migration support which has been broken for a couple of releases. Also, if you had Java problems please test kvm-56, as it has some nx related permission fixes. unfortunately 32bit centos guest still not be able to boot

[kvm-devel] PATCH vmx.c: add printk_ratelimit in vmx_intr_assist

2007-12-13 Thread Ryan Harper
Add printk_ratelimit check in front of printk. This prevents spamming of the message during 32-bit ubuntu 6.06server install. Previously, it would hang during the partition formatting stage. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L:

Re: [kvm-devel] [PATCH resent] virtio_net: Fix stalled inbound trafficon early packets

2007-12-13 Thread Christian Borntraeger
Am Donnerstag, 13. Dezember 2007 schrieb Dor Laor: You're right I got confused somehow. So in that case setting the driver status field on open in addition to your enable will do the trick. On DRIVER_OPEN the host will trigger an interrupt if the queue is not empty.. Thanks, Dor After

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Theodore Tso
On Thu, Dec 13, 2007 at 03:32:46PM +0200, Avi Kivity wrote: This restores live migration support which has been broken for a couple of releases. Also, if you had Java problems please test kvm-56, as it has some nx related permission fixes. BTW, there were changes between 2.6.24-rc3 and -rc5

[kvm-devel] [PATCH][UPDATE] kvm-userspace: sync icache for more architectures

2007-12-13 Thread Christian Ehrhardt
Subject: [PATCH][UPDATE] kvm-userspace: sync icache for more architectures From: Christian Ehrhardt [EMAIL PROTECTED] A ia64 patch introduced kvm_sync_icache within a ifdef __ia64__, but the concept of split caches is not bound to ia64 and we would like to implement it for ppc too. The call to

[kvm-devel] closeness

2007-12-13 Thread Kubesh Loscalzo
Guten Tag, Virus found in this message, please delete it without futher reading Thing, said renisenb. Hori said slowly: i am not several pieces of which were with their army, in this souce, and put some slic't lemon to it,.

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-13 Thread Farkas Levente
Izik Eidus wrote: Farkas Levente wrote: Avi Kivity wrote: This restores live migration support which has been broken for a couple of releases. Also, if you had Java problems please test kvm-56, as it has some nx related permission fixes. unfortunately 32bit centos guest still not

Re: [kvm-devel] [PATCH][UPDATE] kvm-userspace: sync icache for more architectures

2007-12-13 Thread Hollis Blanchard
On Thu, 2007-12-13 at 20:36 +0100, Christian Ehrhardt wrote: @@ -2600,8 +2601,8 @@ void cpu_physical_memory_rw(target_phys_addr_t addr, uint8_t *buf, phys_ram_dirty[addr1 TARGET_PAGE_BITS] |= (0xff ~CODE_DIRTY_FLAG); } -#ifdef

[kvm-devel] [PATCH][0/22] Patches to use arch concept to hold arch-speicif fileds for kvm_vcpu and kvm strucuture.

2007-12-13 Thread Zhang, Xiantao
Hi, Avi As you know, we have to change to kvm_vcpu_arch concept since meet various issues about #includes. This patches enables it. I also prepared a series of patches to split kvm with similar idea. Now, kvm.h includes x86.h by default. X86.c needs includes kvm.h, and vmx.c and svm.c only needs

[kvm-devel] [PATCH][1/22] kvm portability. Add kvm_vcpu_arch support

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Thu, 13 Dec 2007 23:50:52 +0800 Subject: [PATCH] kvm Portability. Add kvm_vcpu_arch support. In this patch, host_tsc is moved to arch fileds. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] --- drivers/kvm/svm.c |4 ++-- drivers/kvm/vmx.c |4

Re: [kvm-devel] [PATCH][UPDATE] kvm-userspace: sync icache for morearchitectures

2007-12-13 Thread Zhang, Xiantao
#include qemu-kvm.h #endif #if defined(CONFIG_USER_ONLY) @@ -2600,8 +2601,8 @@ void cpu_physical_memory_rw(target_phys_addr_t addr, uint8_t *buf, phys_ram_dirty[addr1 TARGET_PAGE_BITS] |= (0xff ~CODE_DIRTY_FLAG); }

[kvm-devel] [PATCH][2/22] kvm: Portability : Moving irq-related fields to arch.

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Thu, 13 Dec 2007 23:59:18 +0800 Subject: [PATCH] kvm: Portability : Moving irq-related fields to arch. This patches moves irq_pending, irq_summary, and interrupt_ window_open fields to arch. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] ---

[kvm-devel] [PATCH][6/22] kvm portability: Moving mp_state, and sipi_vector to kvm_vcpu_arch

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 00:56:44 +0800 Subject: [PATCH] kvm portability: Moving mp_state, and sipi_vector to kvm_vcpu_arch In this patches, two fields mp_state and sipi_vector are moved to kvm_vcpu_arch Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] ---

[kvm-devel] [PATCH] [7/22] kvm portability: Moving mmu-related fields to arch.

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 01:07:51 +0800 Subject: [PATCH] kvm portability: Moving mmu-related fields to arch. This patch moving mmu-related fields to arch. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] --- drivers/kvm/mmu.c | 114

[kvm-devel] [PATCH] [8/22] kvm : portability : moving pt fileds to arch.

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 01:14:44 +0800 Subject: [PATCH] kvm : portability : moving pt fileds to arch. The three fileds last_pt_write_gfn, last_pt_write_count, last_pte_updated are moved to kvm_vcpu_arch. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] ---

[kvm-devel] [PATCH][10/22] kvm: Portability : Moving pio_data, pio, mmio_fault_cr2 to arch.

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 01:21:39 +0800 Subject: [PATCH] Moving pio_data, pio, mmio_fault_cr2 to arch. This patches moves the three fileds to archs as follows: 1. pio_data 2. mmio_fault_cr2 3. pio Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] ---

[kvm-devel] [PATCH][9/22] kvm: portability: Moving {host, guest}_fx_image fields to arch

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 01:17:26 +0800 Subject: [PATCH] kvm: portability: Moving {host, guest}_fx_image fields to arch This patch moves {host, guest}_fx_image to kvm_vcpu_arch. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] --- drivers/kvm/x86.c | 24

[kvm-devel] [PATCH]kvm portability: Moving shadow_efer and pdptrs to archs.

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 00:22:42 +0800 Subject: [PATCH] kvm portability: Moving shadow_efer and pdptrs to archs. Moving shadow_efer and ptptrs to kvm_vcpu_arch. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] --- drivers/kvm/mmu.c |6 +++---

[kvm-devel] [PATCH][11/22] kvm: portability: Moving rmode, exceptions, halt_request to arch

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 01:29:58 +0800 Subject: [PATCH] kvm: portability: Moving rmode, exceptions, halt_request to arch This patch moves rmode exceptions and halt_request to arch. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] --- drivers/kvm/vmx.c |

[kvm-devel] [PATCH][12/22] kvm: portabiltiy: Moving cpuid_entries to arch

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 01:33:04 +0800 Subject: [PATCH] kvm: portabiltiy: Moving cpuid_entries to arch This patch moves cpuid_entries to kvm_vcpu_arch. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] --- drivers/kvm/x86.c | 50

[kvm-devel] [PATCH][13/22] kvm: portability: Moving emulate_ctxt to kvm_vcpu_arch.

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 09:28:42 +0800 Subject: [PATCH] kvm: portability: Moving emulate_ctxt to kvm_vcpu_arch. This patches moves emulate_ctxt to arch. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] --- drivers/kvm/x86.c | 36

[kvm-devel] [PATCH] [14/22] kvm: portability: Splitting mmu-related static functions to mmu.h

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 09:35:10 +0800 Subject: [PATCH] kvm: portability: Splitting mmu-related static functions to mmu.h Since these functions need to know the details of kvm or kvm_vcpu structure, it can't be put in x86.h. Now create a mmu.h to hold them.

[kvm-devel] [PATCH][15/22] kvm: portability: Moving kvm_vcpu defintions back to kvm.h

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 09:41:22 +0800 Subject: [PATCH] kvm: portability: Moving kvm_vcpu defintions back to kvm.h This patches moves kvm_vcpu definition to kvm.h, and finally kvm.h includes x86.h. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] ---

[kvm-devel] [PATCH] [16/22] kvm: portability: Expand the KVM_VCPU_COMM in kvm_vcpu structure.

2007-12-13 Thread Zhang, Xiantao
From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 09:45:31 +0800 Subject: [PATCH] kvm: portability: Expand the KVM_VCPU_COMM in kvm_vcpu structure. This patches removes KVM_COMM macro, original it is hold kvm_vcpu common fields. Signed-off-by: Zhang Xiantao [EMAIL PROTECTED] ---

Re: [kvm-devel] [PATCH][5/22] kvm portability: Moving apic and apic_base to kvm_vcpu arch.

2007-12-13 Thread Avi Kivity
Zhang, Xiantao wrote: From: Zhang Xiantao [EMAIL PROTECTED] Date: Fri, 14 Dec 2007 00:33:56 +0800 Subject: [PATCH] kvm portability: Moving apic and apic_base to kvm_vcpu arch. This patches moving apic and apic_base to kvm_vcpu_arch. And use a macro apic(v) to simplifily get apic from vcpu.

[kvm-devel] [PATCH] libkvm: null pointer dereference in kvm_destroy_phys_mem

2007-12-13 Thread Carlo Marcelo Arenas Belon
The following patch eliminates the uninitialized mem pointer in kvm_destroy_phys_mem and uses instead the corresponding entry from the slots array in the conditional to fix : libkvm.c:580: warning: 'mem' is used uninitialized in this function Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL

Re: [kvm-devel] [PATCH][0/22] Patches to use arch concept to hold arch-speicif fileds for kvm_vcpu and kvm strucuture.

2007-12-13 Thread Avi Kivity
Zhang, Xiantao wrote: Hi, Avi As you know, we have to change to kvm_vcpu_arch concept since meet various issues about #includes. This patches enables it. I also prepared a series of patches to split kvm with similar idea. Now, kvm.h includes x86.h by default. X86.c needs includes kvm.h,