Forward to kvm maillist. Thank you.
-- Forwarded message --
From: Jidong Xiao
Date: Mon, Jan 23, 2012 at 11:09 PM
Subject: How to measure time for program running in guest OS?
To: virtualizat...@lists.linux-foundation.org
Hi,
I am running a guest OS (Fedora 16) with kvm (The
On Wed, Jun 11, 2014 at 4:49 AM, Zhang Haoyu wrote:
> Hi,
>
> According to this:
>
> https://github.com/torvalds/linux/commit/0d1de2d901f4ba0972a3886496a44fb1d3300dbd
>
> It looks like kvm have been supporting x2apic since kernel 2.6.32, or
>
On Wed, Jun 11, 2014 at 8:42 PM, Zhang Haoyu wrote:
>>> Hi,
>>>
>>> According to this:
>>>
>>> https://github.com/torvalds/linux/commit/0d1de2d901f4ba0972a3886496a44fb1d3300dbd
>>>
>>> It looks like kvm have been supporting x2apic since kerne
On Thu, Jun 12, 2014 at 12:48 PM, urgrue wrote:
> Does anyone have ANY idea where I could find out about market share and
> adoption rates of linux hypervisors (kvm vs xen vs vmware, mainly)?
> I've not found anything despite extensive searching, which is really kind of
> problematic when you're t
Hi, All,
I am using a virtual machine in a cloud environment, which means I am
in control of the Guest OS, but have no access to the Host OS. Is
there a simple way to know whether or not the vPMU is enabled or
disabled? Or, is there something I can control so as to turn its state
from enable to di
On Mon, Jun 23, 2014 at 1:41 PM, Jidong Xiao wrote:
> Hi, All,
>
> I am using a virtual machine in a cloud environment, which means I am
> in control of the Guest OS, but have no access to the Host OS. Is
> there a simple way to know whether or not the vPMU is enabled or
> disa
On Mon, Jun 23, 2014 at 1:41 PM, Jidong Xiao wrote:
> Hi, All,
>
> I am using a virtual machine in a cloud environment, which means I am
> in control of the Guest OS, but have no access to the Host OS. Is
> there a simple way to know whether or not the vPMU is enabled or
> disa
On Tue, Jun 24, 2014 at 4:38 PM, Paolo Bonzini wrote:
> Il 24/06/2014 10:33, Jidong Xiao ha scritto:
>
>> I think I have figured out this. According to this patch (as well as
>> the Intel SDM manual), it looks like pmu is exposed via the cpuid leaf
>> 0xah.
>>
>
On Mon, Jun 30, 2014 at 6:02 AM, Vadim Rozenfeld wrote:
> On Mon, 2014-06-30 at 09:39 +0800, Zhang Haoyu wrote:
>> Hi, Vadim
>> I read the kvm-2012-forum paper < KVM as a Microsoft-compatible hypervisor>,
>> Any update and other references, please?
>>
>> Thanks,
>> Zhang Haoyu
>>
>>
>
> Unfortunat
On Wed, Jul 2, 2014 at 2:14 PM, wrote:
> From: Kan Liang
>
> x86, perf: Protect LBR and offcore rsp against KVM lying
>
> With -cpu host, KVM reports LBR and offcore support, if the host has support.
> When the guest perf driver tries to access LBR or offcore_rsp MSR,
> it #GPs all MSR accesses,
Hi,
I saw this page:
http://www.linux-kvm.org/page/Migration.
It looks like Migration is a feature provided by KVM? But when I look
at the Linux kernel source code, i.e., virt/kvm, and arch/x86/kvm, I
don't see the code for this migration feature.
So I wonder where is the source code for the li
On Mon, Nov 17, 2014 at 5:29 PM, Zhang Haoyu wrote:
>> Hi,
>>
>> I saw this page:
>>
>> http://www.linux-kvm.org/page/Migration.
>>
>> It looks like Migration is a feature provided by KVM? But when I look
>> at the Linux kernel source code, i.e., virt/kvm, and arch/x86/kvm, I
>> don't see the code
Hi,
I notice that Qemu supports dump virtual memory of Guest OS. As this
page suggests:
http://doc.opensuse.org/products/draft/SLES/SLES-kvm_sd_draft/cha.qemu.monitor.html
To save the content of the virtual machine memory to a disk or console
output, use the following commands:
memsave
Hi,
I noticed that there is a file call emulate.c, under the directory of
arch/x86/kvm/, in its header part, it says:
"Generic x86 (32-bit and 64-bit) instruction decoder and emulator."
I am confused about this, since qemu will be the emulator, why does
kvm itself also includes such an emulator?
Thanks Paolo, it's very clear.
-Jidong
On Thu, May 22, 2014 at 7:42 AM, Paolo Bonzini wrote:
> Il 22/05/2014 05:55, Jidong Xiao ha scritto:
>
>> Hi,
>>
>> I noticed that there is a file call emulate.c, under the directory of
>> arch/x86/kvm/, in its header pa
On Fri, May 23, 2014 at 12:57 AM, Mathew Li wrote:
> Hi All,
>
> I want to learn KVM code. Apologies for asking really simple
> questions. I have Ubuntu 12.04 32bit installed on my laptop. As I
> understand there are two modules of the KVM. One is called kvm.ko and
> other arch specific e.g. in my
Hi,
In kvm_set_msr_common(), I see that the follow piece of code will
handle the write operation to the register MSR_K7_HWCR.
case MSR_K7_HWCR:
data &= ~(u64)0x40; /* ignore flush filter disable */
data &= ~(u64)0x100; /* ignore ignne emulation enable */
data &= ~(u6
On Wed, May 28, 2014 at 4:14 AM, Jidong Xiao wrote:
> Hi,
>
> In kvm_set_msr_common(), I see that the follow piece of code will
> handle the write operation to the register MSR_K7_HWCR.
>
> case MSR_K7_HWCR:
> data &= ~(u64)0x40; /* ignore flush filter di
This patch fix typos in arch/x86/kvm/x86.c and mark the local function
emulator_write_emulated() as static.
Signed-off-by: Jidong Xiao
---
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 20316c6..5148562 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -4267,14 +4267,14
issue.
Signed-off-by: Jidong Xiao
---
diff --git a/qemu-2.0.0/target-i386/kvm.c.orig b/qemu-2.0.0/target-i386/kvm.c
index 4389959..b8b282d 100644
--- a/qemu-2.0.0/target-i386/kvm.c.orig
+++ b/qemu-2.0.0/target-i386/kvm.c
@@ -530,7 +530,7 @@ int kvm_arch_init_vcpu(CPUState *cs)
memcpy
On Wed, Jun 4, 2014 at 3:09 AM, Paolo Bonzini wrote:
> Il 04/06/2014 03:10, Jidong Xiao ha scritto:
>
>> diff --git a/qemu-2.0.0/target-i386/kvm.c.orig
>> b/qemu-2.0.0/target-i386/kvm.c
>> index 4389959..b8b282d 100644
>> --- a/qemu-2.0.0/target-i386/kvm.c.orig
&
On Wed, Jun 4, 2014 at 3:08 PM, Bandan Das wrote:
> Jidong Xiao writes:
>
>> On Wed, Jun 4, 2014 at 3:09 AM, Paolo Bonzini wrote:
>>> Il 04/06/2014 03:10, Jidong Xiao ha scritto:
>>>
>>>> diff --git a/qemu-2.0.0/target-i386/kvm.c.orig
>>>
Hi,
I am using this tool for querying VMX capabilities.
http://git.qemu.org/?p=qemu.git;a=blob_plain;f=scripts/kvm/vmxcap;hb=HEAD
And it shows as below that pause-loop exiting is not enabled. My kernel is 3.14.
secondary processor-based controls
Virtualize APIC accesses yes
On Sun, Jun 8, 2014 at 11:52 PM, Zhang Haoyu wrote:
>>Hi,
>>
>>I am using this tool for querying VMX capabilities.
>>
>>http://git.qemu.org/?p=qemu.git;a=blob_plain;f=scripts/kvm/vmxcap;hb=HEAD
>>
>>And it shows as below that pause-loop exiting is not enabled. My kernel is
>>3.14.
>>
>>secondary
On Sun, Jun 8, 2014 at 11:52 PM, Zhang Haoyu wrote:
>>Hi,
>>
>>I am using this tool for querying VMX capabilities.
>>
>>http://git.qemu.org/?p=qemu.git;a=blob_plain;f=scripts/kvm/vmxcap;hb=HEAD
>>
>>And it shows as below that pause-loop exiting is not enabled. My kernel is
>>3.14.
>>
>>secondary
On Mon, Jun 9, 2014 at 3:16 AM, Zhang Haoyu wrote:
>Hi,
>
>I am using this tool for querying VMX capabilities.
>
>http://git.qemu.org/?p=qemu.git;a=blob_plain;f=scripts/kvm/vmxcap;hb=HEAD
>
>And it shows as below that pause-loop exiting is not enabled. My kernel is
>>>
Hi,
According to this:
https://github.com/torvalds/linux/commit/0d1de2d901f4ba0972a3886496a44fb1d3300dbd
It looks like kvm have been supporting x2apic since kernel 2.6.32, or
even earlier.
However, this following patch:
https://github.com/torvalds/linux/commit/8d14695f9542e9e0195d6e41ddaa52c32
On Tue, Jun 10, 2014 at 9:33 PM, Zhang Haoyu wrote:
>> Hi,
>>
>> According to this:
>>
>> https://github.com/torvalds/linux/commit/0d1de2d901f4ba0972a3886496a44fb1d3300dbd
>>
>> It looks like kvm have been supporting x2apic since kernel 2.6.32, or
>> even earlier.
>>
> This patch is to emulate x2a
On Tue, Jun 10, 2014 at 11:54 PM, Jidong Xiao wrote:
> On Tue, Jun 10, 2014 at 9:33 PM, Zhang Haoyu wrote:
>>> Hi,
>>>
>>> According to this:
>>>
>>> https://github.com/torvalds/linux/commit/0d1de2d901f4ba0972a3886496a44fb1d3300dbd
>>>
On Wed, Jun 11, 2014 at 12:53 AM, Zhang Haoyu wrote:
> Hi,
>
> According to this:
>
> https://github.com/torvalds/linux/commit/0d1de2d901f4ba0972a3886496a44fb1d3300dbd
>
> It looks like kvm have been supporting x2apic since kernel 2.6.32, or
> even earlier.
>
>>
On Wed, Jun 11, 2014 at 1:08 AM, Jidong Xiao wrote:
> On Wed, Jun 11, 2014 at 12:53 AM, Zhang Haoyu wrote:
>>>>>> Hi,
>>>>>>
>>>>>> According to this:
>>>>>>
>>>>>> https://github.com/torvalds/li
On Wed, Jun 11, 2014 at 2:27 AM, Zhang Haoyu wrote:
>>> Hi,
>>>
>>> According to this:
>>>
>>> https://github.com/torvalds/linux/commit/0d1de2d901f4ba0972a3886496a44fb1d3300dbd
>>>
>>> It looks like kvm have been supporting x2apic since kernel 2.6.32, or
>>> even ea
On Tue, Jan 27, 2015 at 5:55 AM, Mikhail Sennikovskii
wrote:
> Hi all,
>
> I've posted the bolow mail to the qemu-dev mailing list, but I've got no
> response there.
> That's why I decided to re-post it here as well, and besides that I think
> this could be a kvm-specific issue as well.
>
> Some a
On Thu, Jan 29, 2015 at 3:00 AM, Kun Cheng wrote:
> Hi, Fam
> Thanks for your reply. So a VM process cannot use IPC because it's not
> provided with certain abilities as the concerned resources or
> functions are hide (not virtualised or not provided) from it. But in
> another case, we do know VMs
34 matches
Mail list logo