Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-09 Thread Gleb Natapov
On Fri, Jun 07, 2013 at 04:15:00PM -0700, David Daney wrote: > I should also add that I will shortly send patches for the kvm tool > required to drive this VM as well as a small set of patches that > create a para-virtualized MIPS/Linux guest kernel. > > The idea is that because there is no standa

Re: [PATCH 0/8] kvm/ppc: fixes for 3.10

2013-06-09 Thread Gleb Natapov
On Thu, Jun 06, 2013 at 07:16:28PM -0500, Scott Wood wrote: > Most of these have been posted before, but I grouped them together as > there are some contextual dependencies between them. > > Gleb/Paolo: As Alex doesn't appear to be back yet, can you apply these > if there's no objection over the n

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Gleb Natapov
On Sat, Jun 08, 2013 at 11:15:37AM +0800, Xiao Guangrong wrote: > From: Xiao Guangrong > > Currently, memory synchronization is missed in emulator_fix_hypercall, > please see the commit 758ccc89b83 > (KVM: x86: drop calling kvm_mmu_zap_all in emulator_fix_hypercall) > > This patch fixes it by in

Re: [PATCH v8 00/11] KVM: MMU: fast zap all shadow pages

2013-06-09 Thread Gleb Natapov
On Fri, May 31, 2013 at 08:36:19AM +0800, Xiao Guangrong wrote: > Hi Gleb, Paolo, Marcelo, > > I have putted the potential controversial patches to the latter that are > patch 8 ~ 10, patch 11 depends on patch 9. Other patches are fully reviewed, > I think its are ready for being merged. If not lu

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Xiao Guangrong
On 06/09/2013 04:45 PM, Gleb Natapov wrote: > On Sat, Jun 08, 2013 at 11:15:37AM +0800, Xiao Guangrong wrote: >> From: Xiao Guangrong >> >> Currently, memory synchronization is missed in emulator_fix_hypercall, >> please see the commit 758ccc89b83 >> (KVM: x86: drop calling kvm_mmu_zap_all in emul

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 04:56:42PM +0800, Xiao Guangrong wrote: > On 06/09/2013 04:45 PM, Gleb Natapov wrote: > > On Sat, Jun 08, 2013 at 11:15:37AM +0800, Xiao Guangrong wrote: > >> From: Xiao Guangrong > >> > >> Currently, memory synchronization is missed in emulator_fix_hypercall, > >> please s

Re: [PATCH v8 00/11] KVM: MMU: fast zap all shadow pages

2013-06-09 Thread Xiao Guangrong
On 06/09/2013 04:53 PM, Gleb Natapov wrote: > On Fri, May 31, 2013 at 08:36:19AM +0800, Xiao Guangrong wrote: >> Hi Gleb, Paolo, Marcelo, >> >> I have putted the potential controversial patches to the latter that are >> patch 8 ~ 10, patch 11 depends on patch 9. Other patches are fully reviewed, >>

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Xiao Guangrong
On 06/09/2013 04:59 PM, Gleb Natapov wrote: > On Sun, Jun 09, 2013 at 04:56:42PM +0800, Xiao Guangrong wrote: >> On 06/09/2013 04:45 PM, Gleb Natapov wrote: >>> On Sat, Jun 08, 2013 at 11:15:37AM +0800, Xiao Guangrong wrote: From: Xiao Guangrong Currently, memory synchronization is

Re: [PATCH v8 00/11] KVM: MMU: fast zap all shadow pages

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 05:06:24PM +0800, Xiao Guangrong wrote: > On 06/09/2013 04:53 PM, Gleb Natapov wrote: > > On Fri, May 31, 2013 at 08:36:19AM +0800, Xiao Guangrong wrote: > >> Hi Gleb, Paolo, Marcelo, > >> > >> I have putted the potential controversial patches to the latter that are > >> pat

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Xiao Guangrong
On 06/09/2013 04:45 PM, Gleb Natapov wrote: > +static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt) > +{ > + struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); > + return kvm_exec_with_stopped_vcpu(vcpu->kvm, > + emulator_fix_hypercall_cb, ctxt); > +} > + > + > /*

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 05:29:37PM +0800, Xiao Guangrong wrote: > On 06/09/2013 04:45 PM, Gleb Natapov wrote: > > > +static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt) > > +{ > > + struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); > > + return kvm_exec_with_stopped_vcpu(vcpu->kvm, > >

Re: Bug#707257: linux-image-3.8-1-686-pae: KVM crashes with "entry failed, hardware error 0x80000021"

2013-06-09 Thread Gleb Natapov
On Thu, Jun 06, 2013 at 02:10:39PM +0200, Stefan Pietsch wrote: > On 06.06.2013 13:40, Gleb Natapov wrote: > > On Thu, Jun 06, 2013 at 01:35:13PM +0200, Stefan Pietsch wrote: > > >> I had no success with the Debian kernel 3.10~rc4-1~exp1 (3.10-rc4-686-pae). > >> > >> The machine hangs after "Enabl

Re: [PATCH] vhost: wake up worker outside spin_lock

2013-06-09 Thread Michael S. Tsirkin
On Fri, Jun 07, 2013 at 09:50:16PM +0800, Qin Chuanyu wrote: > the wake_up_process func is included by spin_lock/unlock in > vhost_work_queue, > but it could be done outside the spin_lock. > I have test it with kernel 3.0.27 and guest suse11-sp2 using iperf, > the num as below. > o

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Xiao Guangrong
On 06/09/2013 05:39 PM, Gleb Natapov wrote: > On Sun, Jun 09, 2013 at 05:29:37PM +0800, Xiao Guangrong wrote: >> On 06/09/2013 04:45 PM, Gleb Natapov wrote: >> >>> +static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt) >>> +{ >>> + struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); >>> + re

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 06:01:45PM +0800, Xiao Guangrong wrote: > On 06/09/2013 05:39 PM, Gleb Natapov wrote: > > On Sun, Jun 09, 2013 at 05:29:37PM +0800, Xiao Guangrong wrote: > >> On 06/09/2013 04:45 PM, Gleb Natapov wrote: > >> > >>> +static int emulator_fix_hypercall(struct x86_emulate_ctxt *c

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread Gleb Natapov
On Fri, Jun 07, 2013 at 10:31:38AM +0800, Arthur Chunqi Li wrote: > Add a function trap_emulator to run an instruction in emulator. > Set inregs first (%rax, %rsp, %rbp, %rflags have special usage and > cannot set in inregs), put instruction codec in alt_insn and call > func with alt_insn_length. G

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Xiao Guangrong
On 06/09/2013 06:19 PM, Gleb Natapov wrote: > On Sun, Jun 09, 2013 at 06:01:45PM +0800, Xiao Guangrong wrote: >> On 06/09/2013 05:39 PM, Gleb Natapov wrote: >>> On Sun, Jun 09, 2013 at 05:29:37PM +0800, Xiao Guangrong wrote: On 06/09/2013 04:45 PM, Gleb Natapov wrote: > +static int em

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 07:25:17PM +0800, Xiao Guangrong wrote: > On 06/09/2013 06:19 PM, Gleb Natapov wrote: > > On Sun, Jun 09, 2013 at 06:01:45PM +0800, Xiao Guangrong wrote: > >> On 06/09/2013 05:39 PM, Gleb Natapov wrote: > >>> On Sun, Jun 09, 2013 at 05:29:37PM +0800, Xiao Guangrong wrote: >

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Xiao Guangrong
On 06/09/2013 07:36 PM, Gleb Natapov wrote: > On Sun, Jun 09, 2013 at 07:25:17PM +0800, Xiao Guangrong wrote: >> On 06/09/2013 06:19 PM, Gleb Natapov wrote: >>> On Sun, Jun 09, 2013 at 06:01:45PM +0800, Xiao Guangrong wrote: On 06/09/2013 05:39 PM, Gleb Natapov wrote: > On Sun, Jun 09, 201

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 07:44:03PM +0800, Xiao Guangrong wrote: > On 06/09/2013 07:36 PM, Gleb Natapov wrote: > > On Sun, Jun 09, 2013 at 07:25:17PM +0800, Xiao Guangrong wrote: > >> On 06/09/2013 06:19 PM, Gleb Natapov wrote: > >>> On Sun, Jun 09, 2013 at 06:01:45PM +0800, Xiao Guangrong wrote: >

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Xiao Guangrong
On 06/09/2013 07:56 PM, Gleb Natapov wrote: > On Sun, Jun 09, 2013 at 07:44:03PM +0800, Xiao Guangrong wrote: >> On 06/09/2013 07:36 PM, Gleb Natapov wrote: >>> On Sun, Jun 09, 2013 at 07:25:17PM +0800, Xiao Guangrong wrote: On 06/09/2013 06:19 PM, Gleb Natapov wrote: > On Sun, Jun 09, 201

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 08:17:19PM +0800, Xiao Guangrong wrote: > On 06/09/2013 07:56 PM, Gleb Natapov wrote: > > On Sun, Jun 09, 2013 at 07:44:03PM +0800, Xiao Guangrong wrote: > >> On 06/09/2013 07:36 PM, Gleb Natapov wrote: > >>> On Sun, Jun 09, 2013 at 07:25:17PM +0800, Xiao Guangrong wrote: >

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread 李春奇
On Sun, Jun 9, 2013 at 7:07 PM, Gleb Natapov wrote: > On Fri, Jun 07, 2013 at 10:31:38AM +0800, Arthur Chunqi Li wrote: >> Add a function trap_emulator to run an instruction in emulator. >> Set inregs first (%rax, %rsp, %rbp, %rflags have special usage and >> cannot set in inregs), put instruction

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 08:44:32PM +0800, 李春奇 wrote: > On Sun, Jun 9, 2013 at 7:07 PM, Gleb Natapov wrote: > > On Fri, Jun 07, 2013 at 10:31:38AM +0800, Arthur Chunqi Li wrote: > >> Add a function trap_emulator to run an instruction in emulator. > >> Set inregs first (%rax, %rsp, %rbp, %rflags ha

Re: [PATCH] KVM: x86: fix missed memory synchronization when patch hypercall

2013-06-09 Thread Xiao Guangrong
On 06/09/2013 08:27 PM, Gleb Natapov wrote: > On Sun, Jun 09, 2013 at 08:17:19PM +0800, Xiao Guangrong wrote: >> On 06/09/2013 07:56 PM, Gleb Natapov wrote: >>> On Sun, Jun 09, 2013 at 07:44:03PM +0800, Xiao Guangrong wrote: On 06/09/2013 07:36 PM, Gleb Natapov wrote: > On Sun, Jun 09, 201

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread 李春奇
On Sun, Jun 9, 2013 at 8:49 PM, Gleb Natapov wrote: > On Sun, Jun 09, 2013 at 08:44:32PM +0800, 李春奇 wrote: >> On Sun, Jun 9, 2013 at 7:07 PM, Gleb Natapov wrote: >> > On Fri, Jun 07, 2013 at 10:31:38AM +0800, Arthur Chunqi Li wrote: >> >> Add a function trap_emulator to run an instruction in emu

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 08:56:04PM +0800, 李春奇 wrote: > On Sun, Jun 9, 2013 at 8:49 PM, Gleb Natapov wrote: > > On Sun, Jun 09, 2013 at 08:44:32PM +0800, 李春奇 wrote: > >> On Sun, Jun 9, 2013 at 7:07 PM, Gleb Natapov wrote: > >> > On Fri, Jun 07, 2013 at 10:31:38AM +0800, Arthur Chunqi Li wrote: >

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread 李春奇
On Sun, Jun 9, 2013 at 8:49 PM, Gleb Natapov wrote: > On Sun, Jun 09, 2013 at 08:44:32PM +0800, 李春奇 wrote: >> On Sun, Jun 9, 2013 at 7:07 PM, Gleb Natapov wrote: >> > On Fri, Jun 07, 2013 at 10:31:38AM +0800, Arthur Chunqi Li wrote: >> >> Add a function trap_emulator to run an instruction in emu

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 09:22:27PM +0800, 李春奇 wrote: > On Sun, Jun 9, 2013 at 8:49 PM, Gleb Natapov wrote: > > On Sun, Jun 09, 2013 at 08:44:32PM +0800, 李春奇 wrote: > >> On Sun, Jun 9, 2013 at 7:07 PM, Gleb Natapov wrote: > >> > On Fri, Jun 07, 2013 at 10:31:38AM +0800, Arthur Chunqi Li wrote: >

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread 李春奇
On Sun, Jun 9, 2013 at 10:09 PM, Gleb Natapov wrote: > On Sun, Jun 09, 2013 at 09:22:27PM +0800, 李春奇 wrote: >> On Sun, Jun 9, 2013 at 8:49 PM, Gleb Natapov wrote: >> > On Sun, Jun 09, 2013 at 08:44:32PM +0800, 李春奇 wrote: >> >> On Sun, Jun 9, 2013 at 7:07 PM, Gleb Natapov wrote: >> >> > On Fri,

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 11:23:26PM +0800, 李春奇 wrote: > On Sun, Jun 9, 2013 at 10:09 PM, Gleb Natapov wrote: > > On Sun, Jun 09, 2013 at 09:22:27PM +0800, 李春奇 wrote: > >> On Sun, Jun 9, 2013 at 8:49 PM, Gleb Natapov wrote: > >> > On Sun, Jun 09, 2013 at 08:44:32PM +0800, 李春奇 wrote: > >> >> On S

Re: VirtIO and BSOD On Windows Server 2003

2013-06-09 Thread Aaron Clausen
On Wed, Jun 5, 2013 at 3:56 PM, Vadim Rozenfeld wrote: > > > - Original Message - > From: "Aaron Clausen" > To: "Vadim Rozenfeld" > Sent: Thursday, June 6, 2013 12:45:14 AM > Subject: Re: VirtIO and BSOD On Windows Server 2003 > > On Tue, Jun 4, 2013 at 7:11 PM, Vadim Rozenfeld wrote: >

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread 李春奇
I have finished the infrastructure but after changing test_mmx_movq_mf test case, it return error: unhandled excecption 6 Return value from qemu: 15 If I don't change %rsp and %rbp, it runs OK. So I wonder if this test case is strictly reply on %rsp and %rbp? On Mon, Jun 10, 2013 at 12:00 AM, Gle

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread Gleb Natapov
On Mon, Jun 10, 2013 at 01:09:15AM +0800, 李春奇 wrote: > I have finished the infrastructure but after changing test_mmx_movq_mf > test case, it return error: > unhandled excecption 6 > Return value from qemu: 15 > > If I don't change %rsp and %rbp, it runs OK. > So I wonder if this test case is str

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread 李春奇
I have trouble to send the address of inregs into alt_insn_page, so I use r9 and r10 to carry %rsp and %rbp into it. And r8 is used to trigger vmexit. I paste the relevant functions as follows: static void trap_emulator(uint64_t *mem, uint8_t *insn_page, uint8_t *alt_insn_page, void *insn_ra

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-09 Thread Gleb Natapov
On Mon, Jun 10, 2013 at 01:28:48AM +0800, 李春奇 wrote: > I have trouble to send the address of inregs into alt_insn_page, so I > use r9 and r10 to carry %rsp and %rbp into it. And r8 is used to > trigger vmexit. > If you going to use call you will need stack. I said how not to use it and how not to

[PATCH qom-cpu 02/59] kvm: Change cpu_synchronize_state() argument to CPUState

2013-06-09 Thread Andreas Färber
Change Monitor::mon_cpu to CPUState as well. In cpu_sychronize_all_states() use qemu_for_each_cpu() now. In dump_init() use cpu_synchronize_all_states(). Signed-off-by: Andreas Färber --- cpus.c | 13 +++-- gdbstub.c | 8 hw/i386/kvm/apic.c |

[PATCH qom-cpu 01/59] kvm: Change kvm_cpu_synchronize_state() argument to CPUState

2013-06-09 Thread Andreas Färber
It no longer relies on CPUArchState. Signed-off-by: Andreas Färber --- hw/ppc/spapr_rtas.c | 2 +- include/sysemu/kvm.h | 4 ++-- kvm-all.c| 4 +--- kvm-stub.c | 2 +- target-i386/kvm.c| 10 +- 5 files changed, 10 insertions(+), 12 deletions(-) diff --git

[PATCH qom-cpu 19/59] kvm: Change kvm_handle_internal_error() argument to CPUState

2013-06-09 Thread Andreas Färber
Signed-off-by: Andreas Färber --- kvm-all.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index 1cd4573..1675311 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1520,10 +1520,8 @@ static void kvm_handle_io(uint16_t port, void *data, int direction, int

[PATCH qom-cpu 20/59] kvm: Change kvm_cpu_exec() argument to CPUState

2013-06-09 Thread Andreas Färber
Signed-off-by: Andreas Färber --- cpus.c | 2 +- include/sysemu/kvm.h | 2 +- kvm-all.c| 3 +-- kvm-stub.c | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/cpus.c b/cpus.c index 636d4d8..f07618f 100644 --- a/cpus.c +++ b/cpus.c @@ -757,7

[PATCH qom-cpu 33/59] kvm: Simplify kvm_remove_all_breakpoints() further

2013-06-09 Thread Andreas Färber
Use new qemu_for_each_cpu(). Signed-off-by: Andreas Färber --- kvm-all.c | 28 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index d5ed831..312106d 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1986,24 +1986,36 @@ int kvm_remove_br

[PATCH qom-cpu 18/59] cpu: Turn cpu_dump_{state,statistics}() into CPUState hooks

2013-06-09 Thread Andreas Färber
Make cpustats monitor command available unconditionally. Signed-off-by: Andreas Färber --- bsd-user/main.c | 3 ++- cpus.c| 2 +- exec.c| 3 ++- include/exec/cpu-all.h| 10 -- include/qemu/log.h| 2 +-

[PATCH qom-cpu 32/59] kvm: Simplify kvm_{insert,remove,remove_all}_breakpoint[s]()

2013-06-09 Thread Andreas Färber
Use new qemu_for_each_cpu(). Signed-off-by: Andreas Färber --- kvm-all.c | 37 ++--- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index 90b89cd..d5ed831 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1891,12 +1891,22 @@ int kvm

[PATCH qom-cpu 57/59] cpu: Make first_cpu and next_cpu CPUState (WIP)

2013-06-09 Thread Andreas Färber
TODO: gdbstub TBD: linux-user thread_env Signed-off-by: Andreas Färber --- cpus.c| 15 +-- exec.c| 27 ++- gdbstub.c | 15 --- hw/arm/boot.c | 10 +- hw/arm/exynos4_boards.

[PATCH qom-cpu 16/59] kvm: Change kvm_set_signal_mask() argument to CPUState

2013-06-09 Thread Andreas Färber
CPUArchState is no longer needed. Signed-off-by: Andreas Färber --- cpus.c | 3 ++- include/sysemu/kvm.h | 2 +- kvm-all.c| 3 +-- kvm-stub.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cpus.c b/cpus.c index 2545e15..aa8aa36 100644 -

[PATCH qom-cpu 34/59] kvm: Change kvm_remove_all_breakpoints() argument to CPUState

2013-06-09 Thread Andreas Färber
Signed-off-by: Andreas Färber --- gdbstub.c| 2 +- include/sysemu/kvm.h | 2 +- kvm-all.c| 5 ++--- kvm-stub.c | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 1bee3dc..e05cd66 100644 --- a/gdbstub.c +++ b/gdbstub

Re: [Qemu-devel] [PATCH qom-cpu 57/59] cpu: Make first_cpu and next_cpu CPUState (WIP)

2013-06-09 Thread Andreas Färber
Sorry, forgot to update the commit message! Am 09.06.2013 21:13, schrieb Andreas Färber: > TODO: gdbstub This was referring to changing gdbstub's c_cpu and g_cpu fields to CPUState - but considering the length of this series, that is left as a follow-up. > TBD: linux-user thread_env Addressed b

Re: [Qemu-devel] [PATCH qom-cpu 57/59] cpu: Make first_cpu and next_cpu CPUState (WIP)

2013-06-09 Thread Andreas Färber
Am 09.06.2013 21:13, schrieb Andreas Färber: > cpus.c| 15 +-- > exec.c| 27 ++- > gdbstub.c | 15 --- > hw/arm/boot.c | 10 +- > hw/arm/exynos4_boards.c | 4 ++-- > hw/ar

Re: [PATCH v5 5/6] mips/kvm: Fix ABI by moving manipulation of CP0 registers to KVM_{G,S}ET_ONE_REG

2013-06-09 Thread David Daney
On 06/08/2013 04:05 AM, Gleb Natapov wrote: On Wed, May 22, 2013 at 11:43:55AM -0700, David Daney wrote: From: David Daney Because not all 256 CP0 registers are ever implemented, we need a different method of manipulating them. Use the KVM_SET_ONE_REG/KVM_GET_ONE_REG mechanism. Now unused co

Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-09 Thread David Daney
On 06/09/2013 12:31 AM, Gleb Natapov wrote: On Fri, Jun 07, 2013 at 04:15:00PM -0700, David Daney wrote: I should also add that I will shortly send patches for the kvm tool required to drive this VM as well as a small set of patches that create a para-virtualized MIPS/Linux guest kernel. The id

Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-09 Thread Maciej W. Rozycki
On Sun, 9 Jun 2013, David Daney wrote: > > How different MIPS SMP systems are? > > o Old SGI heavy metal (several different system architectures). > > o Cavium OCTEON SMP SoCs. > > o Broadcom (several flavors) SoCs > > o Loongson o Old DEC hardware (DECsystem 58x0, R3000-based). o Malta-ba

Re: [Qemu-devel] [PATCH qom-cpu 01/59] kvm: Change kvm_cpu_synchronize_state() argument to CPUState

2013-06-09 Thread li guang
在 2013-06-09日的 21:12 +0200,Andreas Färber写道: > It no longer relies on CPUArchState. > > Signed-off-by: Andreas Färber Reviewed-by: liguang > --- > hw/ppc/spapr_rtas.c | 2 +- > include/sysemu/kvm.h | 4 ++-- > kvm-all.c| 4 +--- > kvm-stub.c | 2 +- > target-i386/kv

Re: [Qemu-devel] [PATCH qom-cpu 02/59] kvm: Change cpu_synchronize_state() argument to CPUState

2013-06-09 Thread li guang
在 2013-06-09日的 21:12 +0200,Andreas Färber写道: > Change Monitor::mon_cpu to CPUState as well. > In cpu_sychronize_all_states() use qemu_for_each_cpu() now. Oh, s/sychronize/synchronize with that, Reviewed-by: liguang > In dump_init() use cpu_synchronize_all_states(). > > Signed-off-by: Andreas Fä

Re: VirtIO and BSOD On Windows Server 2003

2013-06-09 Thread Vadim Rozenfeld
Well, that's really something new for me. Our most recent official build was build-49, all viostor drivers have passed WHQL, functional, autotest and performance tests on rhel6.4. More recent builds are targeted at rhel6.5 and some of them can be broken. I don't know how virtio-win package has be

Re: VirtIO and BSOD On Windows Server 2003

2013-06-09 Thread Vadim Rozenfeld
- Original Message - From: "Aaron Clausen" To: "Vadim Rozenfeld" , kvm@vger.kernel.org Sent: Monday, June 10, 2013 3:37:53 AM Subject: Re: VirtIO and BSOD On Windows Server 2003 On Jun 9, 2013 9:20 AM, "Aaron Clausen" wrote: > Okay. I set up a CentOS 6.4 x64. Fired up a Windows Server

Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-09 Thread Gleb Natapov
On Sun, Jun 09, 2013 at 04:23:51PM -0700, David Daney wrote: > On 06/09/2013 12:31 AM, Gleb Natapov wrote: > >On Fri, Jun 07, 2013 at 04:15:00PM -0700, David Daney wrote: > >>I should also add that I will shortly send patches for the kvm tool > >>required to drive this VM as well as a small set of