Introduce DstImmUByte for dst operand decode, which
will be used for out instruction.
Signed-off-by: Wei Yongjun
---
arch/x86/kvm/emulate.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index a2a079f..f952fd0 100644
Signed-off-by: Wei Yongjun
---
arch/x86/kvm/emulate.c | 24
1 files changed, 4 insertions(+), 20 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 95815b9..0e360c6 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2870,2
Kevin O'Connor wrote:
> On Tue, Aug 03, 2010 at 05:00:49PM +0800, Liu, Jinsong wrote:
>> I just test your new patch with Windows 2008 DataCenter at my
>> platform, it works OK! We can hot-add new cpus and they appear at
>> Device Manager. (BTW, yesterday I test your new patch with linux
>> 2.6.32
Change OUT instruction to use dst instead of src, so we can
reuse those code for all out instructions.
Signed-off-by: Wei Yongjun
---
arch/x86/kvm/emulate.c | 15 ---
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
inde
Recently seabios implement vcpu hotplug infrastructure.
During test, we found qemu-kvm has a bug result in guestos shutdown when vcpu
hotadd.
This patch is to fix the bug, mark bus->allow_hotplug as 1 after qdev_hotplug
init done.
Signed-off-by: Liu, Jinsong
fix-vcpu-hotplug.patch
Description:
On Thu, Aug 05, 2010 at 09:31:58PM +, Blue Swirl wrote:
> On Wed, Aug 4, 2010 at 10:32 PM, Eduard - Gabriel Munteanu
> wrote:
[snip]
> > diff --git a/Makefile.target b/Makefile.target
> > index 70a9c1b..86226a0 100644
> > --- a/Makefile.target
> > +++ b/Makefile.target
> > @@ -219,6 +219,8 @
On Thu, Aug 05, 2010 at 09:23:30PM +, Blue Swirl wrote:
> On Wed, Aug 4, 2010 at 10:32 PM, Eduard - Gabriel Munteanu
[snip]
> > @@ -58,6 +58,10 @@ struct PCIBus {
> > ?? ?? ?? ??Keep a count of the number of devices with raised IRQs. ??*/
> > ?? ?? int nirq;
> > ?? ?? int *irq_count;
> > +
>
cgroup_attach_task_current_cg API that have upstream is backwards: we
really need an API to attach to the cgroups from another process A to
the current one.
In our case (vhost), a priveledged user wants to attach it's task to cgroups
from a less priveledged one, the API makes us run it in the othe
Ok, I could reproduce the problem, and also get the info you asked for:
(qemu) info registers
EAX= EBX=c27166c0 ECX=0013 EDX=c0bf85e0
ESI=c057cea0 EDI= EBP=d35a5ce4 ESP=d35a5ce4
EIP=c09e48ba EFL=0246 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0028 00c09300
On Wed, Aug 4, 2010 at 10:32 PM, Eduard - Gabriel Munteanu
wrote:
> This introduces emulation for the AMD IOMMU, described in "AMD I/O
> Virtualization Technology (IOMMU) Specification".
>
> Signed-off-by: Eduard - Gabriel Munteanu
> ---
> Makefile.target | 2 +
> configure | 10 +
>
On Wed, Aug 4, 2010 at 10:32 PM, Eduard - Gabriel Munteanu
wrote:
> PCI devices should access memory through pci_memory_*() instead of
> cpu_physical_memory_*(). This also provides support for translation and
> access checking in case an IOMMU is emulated.
>
> Memory maps are treated as remote IOT
On Wed, Aug 4, 2010 at 10:32 PM, Eduard - Gabriel Munteanu
wrote:
> Hi,
>
> I hope I solved the issues raised by Anthony and Paul.
>
> Please have a look and tell me what you think. However, don't merge it yet (in
> case you like it), I need to test and cleanup some pieces further. There are
> als
Hi,
we today saw a Win2k8 VM with first device IDE and second device SCSI crash
reprocably during boot.
Win2k8 32-bit Server was installed with IDE only. The second SCSI device was
added later.
Here is the output and commandline:
Aug 5 20:42:55 172.21.59.142 exec: /usr/bin/qemu-kvm-0.12.4 -n
Thanks Avi,
I am trying to reproduce this on another setup, and do not see the issue.
My understanding is to run KVM + Qemu, I only need to install KVM modules,
and Qemu does not need to be modified. Is that correct?
I see
[r...@ipg-virt01 anjali]# lsmod | grep kvm
kvm_intel 87016 0
qemu supports up to UIO_MAXIOV s/g so we have to match that.
Apparently windows guests rely on this (more precisely,
they want to fill all of vq with s/g entries of a single
descriptor).
Allocate indirect and log arrays dynamically to avoid
using too much contigious memory.
hdr array is used to st
Hi,
Am using Fedora 12 2.6.32.10-90.fc12.i686 on both host and guest. I
see that the packets destined for a particular port (iperf/5001 if
that matters) in guest can be captured using "tcpdump" on host whereas
the reverse is not true i.e I run iperf server on host and tcpdump on
guest can not read
On 07/29/2010 05:47 AM, Alexander Graf wrote:
For transparent variable sharing between the hypervisor and guest, I introduce
a shared page. This shared page will contain all the registers the guest can
read and write safely without exiting guest context.
This patch only implements the stubs requ
On 07/29/2010 05:47 AM, Alexander Graf wrote:
We will soon start and replace instructions from the text section with
other, paravirtualized versions. To ease the readability of those patches
I split out the generic looping and magic page mapping code out.
This patch still only contains stubs. Bu
On Wed, Aug 04, 2010 at 11:33:29AM +0800, Xiao Guangrong wrote:
> Support prefetch ptes when intercept guest #PF, avoid to #PF by later
> access
>
> If we meet any failure in the prefetch path, we will exit it and
> not try other ptes to avoid become heavy path
>
> Signed-off-by: Xiao Guangrong
On 08/05/2010 02:28 AM, Gerd Hoffmann wrote:
Hi,
The option rom stuff has a number of short comings. Because we hijack
int19, extboot doesn't get to run. That means that if you use -kernel to
load a grub (the Ubuntu guys for their own absurd reasons) then grub
does not see extboot backed disk
On 08/05/2010 03:38 AM, Amos Kong wrote:
> On Thu, Jul 15, 2010 at 06:57:35PM +0300, Michael Goldish wrote:
>> These utilities use sc to stop and start windows services. They're used by
>> whql_submission
>> and whql_client_install to stop or restart wttsvc on the client machine.
>>
>> Signed-off
On 08/05/2010 03:43 PM, Mohammed Gamal wrote:
Signed-off-by: Mohammed Gamal
Applied, thanks.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo i
On 08/05/2010 04:01 PM, Mohammed Gamal wrote:
On Thu, Aug 5, 2010 at 3:49 PM, Gleb Natapov wrote:
On Thu, Aug 05, 2010 at 03:42:49PM +0300, Mohammed Gamal wrote:
Signed-off-by: Mohammed Gamal
---
arch/x86/kvm/emulate.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff -
On Thu, Aug 5, 2010 at 3:49 PM, Gleb Natapov wrote:
> On Thu, Aug 05, 2010 at 03:42:49PM +0300, Mohammed Gamal wrote:
>> Signed-off-by: Mohammed Gamal
>> ---
>> arch/x86/kvm/emulate.c | 6 +-
>> 1 files changed, 5 insertions(+), 1 deletions(-)
>>
>> diff --git a/arch/x86/kvm/emulate.c b/a
On Thu, Aug 05, 2010 at 03:42:49PM +0300, Mohammed Gamal wrote:
> Signed-off-by: Mohammed Gamal
> ---
> arch/x86/kvm/emulate.c |6 +-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
> index f0f4a43..f345df0 100644
> ---
Signed-off-by: Mohammed Gamal
---
x86/realmode.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/x86/realmode.c b/x86/realmode.c
index 7534da5..ead5021 100644
--- a/x86/realmode.c
+++ b/x86/realmode.c
@@ -462,6 +462,7 @@ void test_eflags_insn(void)
{
stru
Signed-off-by: Mohammed Gamal
---
arch/x86/kvm/emulate.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index f0f4a43..f345df0 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2269,7 +2269,7 @@ stat
On Thu, Aug 05, 2010, Avi Kivity wrote about "Re: [PATCH 9/24] Implement
VMCLEAR":
> >Do you think it's a good idea to kill
> >the guest immediately, in anticipation of a crash that will most likely
> >come
> >later?
>
> At this stage, the problem is likely to be in the nvmx implementation.
>
On 08/05/2010 03:10 PM, Nadav Har'El wrote:
On Thu, Aug 05, 2010, Avi Kivity wrote about "Re: [PATCH 9/24] Implement
VMCLEAR":
As far as the processor is concerned, there is no end to physical
memory. The VMCLEAR will write some stuff out, and the chipset will
throw it away.
So isn't what yo
On Thu, Aug 05, 2010, Avi Kivity wrote about "Re: [PATCH 9/24] Implement
VMCLEAR":
> As far as the processor is concerned, there is no end to physical
> memory. The VMCLEAR will write some stuff out, and the chipset will
> throw it away.
So isn't what you're saying that for accurate VMCLEAR em
Hi,
I had some trouble while using the ballooning feature of KVM (using
Ubuntu 10.04 with standard software versions).
The first scenario:
1. Having a guest started by this command: qemu -enable-kvm -m 768
-balloon virtio -cdrom linux_2.6.34.iso
The guest is running Linux 2.6.34 including th
On 08/05/2010 03:01 PM, Nadav Har'El wrote:
On Thu, Aug 05, 2010, Gleb Natapov wrote about "Re: [PATCH 9/24] Implement
VMCLEAR":
In any case, I don't think this should be considered an internal error, or
that we have a reason to exit to user space in this case.
But you can't emulate this eit
On 08/05/2010 02:50 PM, Nadav Har'El wrote:
On Tue, Jun 15, 2010, Gleb Natapov wrote about "Re: [PATCH 9/24] Implement
VMCLEAR":
On Tue, Jun 15, 2010 at 04:50:35PM +0300, Avi Kivity wrote:
On 06/15/2010 04:47 PM, Gleb Natapov wrote:
Architectural errors (bad alignment) should update flags. I
On Thu, Aug 05, 2010, Gleb Natapov wrote about "Re: [PATCH 9/24] Implement
VMCLEAR":
> > In any case, I don't think this should be considered an internal error, or
> > that we have a reason to exit to user space in this case.
> >
> But you can't emulate this either, no?
I could, if I knew what t
On Thu, Aug 05, 2010 at 02:50:25PM +0300, Nadav Har'El wrote:
> On Tue, Jun 15, 2010, Gleb Natapov wrote about "Re: [PATCH 9/24] Implement
> VMCLEAR":
> > On Tue, Jun 15, 2010 at 04:50:35PM +0300, Avi Kivity wrote:
> > > On 06/15/2010 04:47 PM, Gleb Natapov wrote:
> > > Architectural errors (bad a
On Tue, Jun 15, 2010, Gleb Natapov wrote about "Re: [PATCH 9/24] Implement
VMCLEAR":
> On Tue, Jun 15, 2010 at 04:50:35PM +0300, Avi Kivity wrote:
> > On 06/15/2010 04:47 PM, Gleb Natapov wrote:
> > Architectural errors (bad alignment) should update flags. Internal
> > errors (ENOMEM, vpmtr point
On Tue, Jul 06, 2010, Dong, Eddie wrote about "RE: [PATCH 10/24] Implement
VMPTRLD":
> Nadav Har'El wrote:
> > This patch implements the VMPTRLD instruction.
>..
> > +/* Emulate the VMPTRLD instruction */
> > +static int handle_vmptrld(struct kvm_vcpu *vcpu)
> > +{
>..
>
> How about the "Launch"
On 08/05/2010 03:49 AM, Amos Kong wrote:
> On Thu, Jul 22, 2010 at 01:14:17PM +0300, Michael Goldish wrote:
>> whql_submission runs a submission on a given device. It requires a
>> functioning external DTM server which runs rss.exe like regular Windows VMs,
>> preferably with administrator permiss
On Mon, Jun 14, 2010, Avi Kivity wrote about "Re: [PATCH 10/24] Implement
VMPTRLD":
> >+if (vmcs_page == NULL)
> >+return 0;
> >
>
> Doesn't seem right.
>...
> >+
> >+if (read_guest_vmcs_gpa(vcpu,&guest_vmcs_addr)) {
> >+set_rflags_to_vmx_fail_invalid(vcpu);
> >
On 08/04/2010 10:38 AM, Wei Yongjun wrote:
> Using SrcOne for instruction d0/d1 decoding.
>
Applied 1-3, thanks.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.or
On 08/04/2010 10:40 AM, Wei Yongjun wrote:
> Signed-off-by: Wei Yongjun
Patch is good, but too big. Please separate into DstImmUByte, change OUT
to use dst instead of src, IN consolidationn and OUT consolidation.
> ---
> arch/x86/kvm/emulate.c | 50 ---
On 08/04/2010 10:13 AM, Lai Jiangshan wrote:
mmu_shrink() should attempt to free @nr_to_scan entries.
This conflicts with Dave's patchset.
Dave, what's going on with those patches? They're starting to smell.
@@ -3138,37 +3138,51 @@ static int mmu_shrink(struct shrinker *shrink, int
nr_to
On 08/04/2010 05:45 AM, Mohammed Gamal wrote:
This adds a test for int n (opcode 0xcd) instruction in the real mode
test harness
Applied, thanks.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a
On 08/04/2010 02:38 PM, Mohammed Gamal wrote:
This adds support for int instructions to the emulator
Applied, thanks. Please use v2 markers so I can distinguish between
different versions (list of changes helps too).
--
error compiling committee.c: too many arguments to function
--
To uns
On 08/04/2010 11:27 AM, Wei Yongjun wrote:
> Group 8 instruction, BT[S|R|C] should be mask as BitOp.
>
Please repost as a patch set, all those versions confuse me.
For maximum reviewability, please do:
- a patch that consolidates existing register BitOp decoding
- a patch that adds immediate Bi
Herbert,
The v8 patches are modified mostly based on your comments about
napi_gro_frags interface. How do you think about the patches about
net core system part?
We know currently there are some comments about the mp device,
such as to support zero-copy for tun/tap and macvtap. Since there
isn't a
On 08/05/2010 09:09 AM, Wei Yongjun wrote:
> This patch add test for btc instruction.
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More m
On Thu, Aug 05, 2010 at 11:45:33AM +0300, Avi Kivity wrote:
> On 08/05/2010 10:59 AM, Gleb Natapov wrote:
> >
> >>We have the firmware configuration interface for that, if we can
> >>tolerate its speed.
> >>
> >To pass default boot device, sure :) The question is what to pass so
> >that seabios wi
On 08/05/2010 11:34 AM, Wei Yongjun wrote:
> Two-byte opcode always start with 0x0F and the decode flags
> of opcode 0xF0 is always 0, so remove dup check.
Applied, thanks.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscri
On 08/05/2010 05:20 AM, Anjali Kulkarni wrote:
Hi,
I have a problem similar to the one seen on this list before - when I boot my
freebsd based(but modified) image in Qemu with KVM on CentOS, then after almost
booting completely, the image hangs - just before the login prompt is seen. If
I do
On 08/05/2010 10:59 AM, Gleb Natapov wrote:
We have the firmware configuration interface for that, if we can
tolerate its speed.
To pass default boot device, sure :) The question is what to pass so
that seabios will be able to unambiguously determine what device to
boot from.
IMO seabios s
Two-byte opcode always start with 0x0F and the decode flags
of opcode 0xF0 is always 0, so remove dup check.
Signed-off-by: Wei Yongjun
---
arch/x86/kvm/emulate.c | 12 +---
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
i
On 07/29/2010 03:47 PM, Alexander Graf wrote:
On PPC we run PR=0 (kernel mode) code in PR=1 (user mode) and don't use the
hypervisor extensions.
While that is all great to show that virtualization is possible, there are
quite some cases where the emulation overhead of privileged instructions is
On 08/05/2010 11:01 AM, Alexander Graf wrote:
Shall I take this as an ACK?
Hollis wanted to take a look at it too. But given the fact that I have another
~10 patches lying here I'd appreciate if things could get committed. If changes
are so dramatic that they'd render things incompatible, w
On 08/04/2010 02:41 PM, Mohammed Gamal wrote:
If a nop instruction is encountered, we jump directly to the done label.
This skip updating rip. Break from the switch case instead
Applied, thanks. I was sloppy there.
--
error compiling committee.c: too many arguments to function
--
To unsubsc
On 05.08.2010, at 09:57, Avi Kivity wrote:
> On 08/03/2010 07:16 PM, Scott Wood wrote:
>> On Sun, 1 Aug 2010 22:21:37 +0200
>> Alexander Graf wrote:
>>
>>> On 01.08.2010, at 16:02, Avi Kivity wrote:
>>>
Looks reasonable. Since it's fair to say I understand nothing about
powerpc, I'
On Thu, Aug 05, 2010 at 10:56:52AM +0300, Avi Kivity wrote:
> On 08/05/2010 10:34 AM, Gleb Natapov wrote:
> >On Thu, Aug 05, 2010 at 09:28:57AM +0200, Gerd Hoffmann wrote:
> >> Hi,
> >>
> >>>The option rom stuff has a number of short comings. Because we hijack
> >>>int19, extboot doesn't get to
On 08/03/2010 07:16 PM, Scott Wood wrote:
On Sun, 1 Aug 2010 22:21:37 +0200
Alexander Graf wrote:
On 01.08.2010, at 16:02, Avi Kivity wrote:
Looks reasonable. Since it's fair to say I understand nothing about powerpc,
I'd like someone who does to review it and ack, please, with an emphasi
On 08/05/2010 10:34 AM, Gleb Natapov wrote:
On Thu, Aug 05, 2010 at 09:28:57AM +0200, Gerd Hoffmann wrote:
Hi,
The option rom stuff has a number of short comings. Because we hijack
int19, extboot doesn't get to run. That means that if you use -kernel to
load a grub (the Ubuntu guys for the
On Thu, Aug 05, 2010 at 09:28:57AM +0200, Gerd Hoffmann wrote:
> Hi,
>
> >The option rom stuff has a number of short comings. Because we hijack
> >int19, extboot doesn't get to run. That means that if you use -kernel to
> >load a grub (the Ubuntu guys for their own absurd reasons) then grub
> >d
Hi,
The option rom stuff has a number of short comings. Because we hijack
int19, extboot doesn't get to run. That means that if you use -kernel to
load a grub (the Ubuntu guys for their own absurd reasons) then grub
does not see extboot backed disks. The solution for them is the same,
generate
61 matches
Mail list logo