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
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
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
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
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
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
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,
>>
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
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
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);
> +}
> +
> +
> /*
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,
> >
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
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
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
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
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
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
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:
>
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
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:
>
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
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:
>
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
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
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
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
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:
>
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
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:
>
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,
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
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:
>
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
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
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
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
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 |
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
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
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
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
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 +-
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
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.
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
-
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
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
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
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
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
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
在 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
在 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ä
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
- 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
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
56 matches
Mail list logo