Re: Questions about KVM TSC trapping

2015-09-25 Thread David Matlack
..@hotmail.com> >> wrote: >> > Hi Guys, >> > >> > I found below patch for KVM TSC trapping / migration support, >> > >> > https://lkml.org/lkml/2011/1/6/90 >> > >> > It seemed the patch were not merged in Linux mainline. &

Re: Questions about KVM TSC trapping

2015-09-23 Thread yangoliver
t; > > https://lkml.org/lkml/2011/1/6/90 > > > > It seemed the patch were not merged in Linux mainline. > > > > So I have 3 questions here, > > > > 1. Can KVM support TSC trapping today? If not, what is the plan? > > Not without a patch. Did

Re: Questions about KVM TSC trapping

2015-09-15 Thread Wanpeng Li
have 3 questions here, 1. Can KVM support TSC trapping today? If not, what is the plan? Not without a patch. Did you want to trap RDTSC? RDTSC works without trapping thanks to hardware support. 2. What is the solution if my SMP Linux guest OS doesn't have reliable TSC? If you are

Re: Questions about KVM TSC trapping

2015-09-15 Thread David Matlack
On Tue, Sep 15, 2015 at 12:04 AM, Oliver Yang <yang_oli...@hotmail.com> wrote: > Hi Guys, > > I found below patch for KVM TSC trapping / migration support, > > https://lkml.org/lkml/2011/1/6/90 > > It seemed the patch were not merged in Linux mainline. > > So I h

Questions about KVM TSC trapping

2015-09-15 Thread Oliver Yang
Hi Guys, I found below patch for KVM TSC trapping / migration support,  https://lkml.org/lkml/2011/1/6/90 It seemed the patch were not merged in Linux mainline. So I have 3 questions here,  1.  Can KVM support TSC trapping today? If not, what is the plan? 2. What is the solution if my SMP

Re: Networking: Questions about KVM-Host to KVM-Guest interal traffic Handling

2015-05-07 Thread David Borman
Thanks Stefan. Am 5/7/2015 um 11:23 AM schrieb Stefan Hajnoczi: The network stack is very flexible, so many configurations are possible. A popular bridged Ethernet configuration is: guest - vhost_net.ko - tap - software bridge - eth0 The flow is: 1. Packet is received on physical eth0 OK

Re: Questions about to dos in emulate.c

2015-01-12 Thread Paolo Bonzini
On 10/01/2015 05:14, nick wrote: Greetings Again Everyone, I have a few questions about fix mes in emulate.c. They are listed in numerical order below. 1. For __emulate_int_real somebody stated we need limit checks. What checks are needed for my information. These are written

[Questions]

2014-08-20 Thread Zhangjie (HZ)
Hi MST, I see reduce networking latency from Networking Todo, the idea is to allow handling short packets from softirq or VCPU context. If from softirq context, how could softirq copy skb to guest memory? If the method is to use mmstruct of Qemu, would it be expensive? If from VCPU context,

Re: [Questions]

2014-08-20 Thread Michael S. Tsirkin
On Wed, Aug 20, 2014 at 05:37:01PM +0800, Zhangjie (HZ) wrote: Hi MST, I see reduce networking latency from Networking Todo, the idea is to allow handling short packets from softirq or VCPU context. If from softirq context, how could softirq copy skb to guest memory? If the method is to

Re: [questions] about using vfio to assign sr-iov vf to vm

2014-08-18 Thread Zhang Haoyu
Hi, all I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, 82599 PF and its VFs belong to the same iommu_group, but I only want to assign some VFs to one VM, and some other VFs to another VM, so how to only unbind (part of) the VFs but PF? I read the

Re: [questions] about using vfio to assign sr-iov vf to vm

2014-08-18 Thread Zhang Haoyu
Hi, all I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, 82599 PF and its VFs belong to the same iommu_group, but I only want to assign some VFs to one VM, and some other VFs to another VM, so how to only unbind (part of) the VFs but PF? I read the

Re: [questions] about using vfio to assign sr-iov vf to vm

2014-08-18 Thread Alex Williamson
On Mon, 2014-08-18 at 17:49 +0800, Zhang Haoyu wrote: Hi, all I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, 82599 PF and its VFs belong to the same iommu_group, but I only want to assign some VFs to one VM, and some other VFs to another VM, so

Re: [questions] about using vfio to assign sr-iov vf to vm

2014-08-17 Thread Zhang Haoyu
Hi, all I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, 82599 PF and its VFs belong to the same iommu_group, but I only want to assign some VFs to one VM, and some other VFs to another VM, ..., so how to only unbind (part of) the VFs but PF? I read the kernel

Re: [questions] about using vfio to assign sr-iov vf to vm

2014-08-17 Thread Alex Williamson
On Mon, 2014-08-18 at 09:00 +0800, Zhang Haoyu wrote: Hi, all I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, 82599 PF and its VFs belong to the same iommu_group, but I only want to assign some VFs to one VM, and some other VFs to another VM, ..., so

Re: [questions] about using vfio to assign sr-iov vf to vm

2014-08-16 Thread Zhang Haoyu
Hi, all I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, 82599 PF and its VFs belong to the same iommu_group, but I only want to assign some VFs to one VM, and some other VFs to another VM, ..., so how to only unbind (part of) the VFs but PF? I read the kernel doc

Re: [questions] about using vfio to assign sr-iov vf to vm

2014-08-16 Thread Alex Williamson
On Sat, 2014-08-16 at 14:48 +0800, Zhang Haoyu wrote: Hi, all I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, 82599 PF and its VFs belong to the same iommu_group, but I only want to assign some VFs to one VM, and some other VFs to another VM, ..., so how to

[questions] about using vfio to assign sr-iov vf to vm

2014-08-14 Thread Zhang Haoyu
Hi, all I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, 82599 PF and its VFs belong to the same iommu_group, but I only want to assign some VFs to one VM, and some other VFs to another VM, ..., so how to only unbind (part of) the VFs but PF? I read the kernel doc

Re: [questions] about using vfio to assign sr-iov vf to vm

2014-08-14 Thread Alex Williamson
On Thu, 2014-08-14 at 16:22 +0800, Zhang Haoyu wrote: Hi, all I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, 82599 PF and its VFs belong to the same iommu_group, but I only want to assign some VFs to one VM, and some other VFs to another VM, ..., so how to only

Re: [Qemu-devel] [questions] about KVMasaMicrosoft-compatiblehypervisor

2014-08-07 Thread Zhang Haoyu
Hi Zhang, No I haven't seen such problem Which kernel version are you running? Host kernel: RHEL7-RC1(linux-3.10.0). Does it include the latest lazy eli changes? lazy eli or lazy eoi? EOI How to confirm whether lazy eli has been included? not in linux-3.10.0 So, do you mean hv_vapic

Re: [Qemu-devel] [questions] about KVM asaMicrosoft-compatiblehypervisor

2014-08-06 Thread Vadim Rozenfeld
On Mon, 2014-08-04 at 14:29 +0800, Zhang Haoyu wrote: Hi Zhang, No I haven't seen such problem Which kernel version are you running? Host kernel: RHEL7-RC1(linux-3.10.0). Does it include the latest lazy eli changes? lazy eli or lazy eoi? EOI How to confirm whether lazy eli has been

Re: [Qemu-devel] [questions] about KVM asaMicrosoft-compatiblehypervisor

2014-08-04 Thread Zhang Haoyu
Hi Zhang, No I haven't seen such problem Which kernel version are you running? Host kernel: RHEL7-RC1(linux-3.10.0). Does it include the latest lazy eli changes? lazy eli or lazy eoi? How to confirm whether lazy eli has been included? Btw, hv_spinlocks=0xfff is a pretty huge value. which

Re: Re: [Qemu-devel] [questions] about KVM as aMicrosoft-compatiblehypervisor

2014-08-03 Thread Zhang Haoyu
Hi, Vadim I start a vm(windows server 2008 64bit) with below qemu command, get stuck with black screen during boot stage, no error report by qemu and kvm hypervisor, but if I remove the item hv_vapic, then start and run the VM successfully. /var/run/qemu-server/5195516385344.pid -daemonize

Re: [Qemu-devel] [questions] about KVM as aMicrosoft-compatiblehypervisor

2014-08-03 Thread Vadim Rozenfeld
...@redhat.com Cc: Jidong Xiao jidong.x...@gmail.com, qemu-devel qemu-de...@nongnu.org, kvm kvm@vger.kernel.org Sent: Monday, August 4, 2014 12:17:41 PM Subject: Re: Re: [Qemu-devel] [questions] about KVM as aMicrosoft-compatiblehypervisor Hi, Vadim I start a vm(windows server 2008 64bit

Re: [Qemu-devel] [questions] about KVM as a Microsoft-compatible hypervisor

2014-06-30 Thread Vadim Rozenfeld
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 Unfortunately, not too much. From the the most recent, we have lazy eoi implemented

Re: [Qemu-devel] [questions] about KVM as a Microsoft-compatible hypervisor

2014-06-30 Thread Jidong Xiao
On Mon, Jun 30, 2014 at 6:02 AM, Vadim Rozenfeld vroze...@redhat.com 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

Re: [Qemu-devel] [questions] about KVM as a Microsoft-compatible hypervisor

2014-06-30 Thread Vadim Rozenfeld
On Mon, 2014-06-30 at 06:19 -0400, Jidong Xiao wrote: On Mon, Jun 30, 2014 at 6:02 AM, Vadim Rozenfeld vroze...@redhat.com 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

Re: Re: [Qemu-devel] [questions] about KVM as a Microsoft-compatiblehypervisor

2014-06-30 Thread Zhang Haoyu
Hi, Vadim I read the kvm-2012-forum paper KVM as a Microsoft-compatible hypervisor, Any update and other references, please? Thanks, Zhang Haoyu Unfortunately, not too much. From the the most recent, we have lazy eoi implemented by MST and reference time counter. How to get the

Re: [Qemu-devel] [questions] about KVM as a Microsoft-compatiblehypervisor

2014-06-30 Thread Vadim Rozenfeld
On Mon, 2014-06-30 at 19:45 +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 Unfortunately, not too much. From the the most recent, we have lazy eoi

[questions] about KVM as a Microsoft-compatible hypervisor

2014-06-29 Thread Zhang Haoyu
Hi, Vadim I read the kvm-2012-forum paper KVM as a Microsoft-compatible hypervisor, Any update and other references, please? Thanks, Zhang Haoyu -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: RE: Some more basic questions..

2014-06-12 Thread Marcus White
in the QEMU case, since they are all part of the same process (VM and QEMU), where is the data copy? Apologies if these are basic questions, trying to understand the path here. Thanks in advance. MW On Tue, Jun 3, 2014 at 4:25 AM, Venkateswara Rao Nandigam venkateswararao.nandi

Re: RE: Some more basic questions..

2014-06-04 Thread Marcus White
? Apologies if these are basic questions, trying to understand the path here. Thanks in advance. MW On Tue, Jun 3, 2014 at 4:25 AM, Venkateswara Rao Nandigam venkateswararao.nandi...@citrix.com wrote: I know that kvm support network tx zero-copy when using vhost, but rx copy is still performed

Re: Some more basic questions..

2014-06-03 Thread Zhang Haoyu
1. If IO to a block device goes through QEMU and not vhost, are there data copies between kernel and user mode if I do IO to a block device or is it zero copy? Kind of related to Question (2) also. I'm not sure, it perhaps depend on which IO mode you chose, qemu pthreads IO, or linux AIO?

RE: Some more basic questions..

2014-06-03 Thread Venkateswara Rao Nandigam
it zero copy realtively. -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Marcus White Sent: Tuesday, June 03, 2014 2:50 AM To: Zhang Haoyu Cc: kvm Subject: Re: Some more basic questions.. A few additional questions:) 1. If IO to a block

Re: RE: Some more basic questions..

2014-06-03 Thread Zhang Haoyu
A few additional questions:) 1. If IO to a block device goes through QEMU and not vhost, are there data copies between kernel and user mode if I do IO to a block device or is it zero copy? Kind of related to Question (2) also. An additional copy will be avoided only by using vhost, so if you

RE: RE: Some more basic questions..

2014-06-03 Thread Venkateswara Rao Nandigam
Sent: Tuesday, June 03, 2014 4:30 PM To: Venkateswara Rao Nandigam; Marcus White Cc: kvm Subject: Re: RE: Some more basic questions.. A few additional questions:) 1. If IO to a block device goes through QEMU and not vhost, are there data copies between kernel and user mode if I do IO to a block

RE: Some more basic questions..

2014-06-03 Thread Zhang Haoyu
A few additional questions:) 1. If IO to a block device goes through QEMU and not vhost, are there data copies between kernel and user mode if I do IO to a block device or is it zero copy? Kind of related to Question (2) also. An additional copy will be avoided only by using vhost, so if you

Re: RE: Some more basic questions..

2014-06-03 Thread Marcus White
will be done irrespective. Can you please clarify? Also in the QEMU case, since they are all part of the same process (VM and QEMU), where is the data copy? Apologies if these are basic questions, trying to understand the path here. Thanks in advance. MW On Tue, Jun 3, 2014 at 4:25 AM

Re: Some more basic questions..

2014-06-02 Thread Marcus White
A few additional questions:) 1. If IO to a block device goes through QEMU and not vhost, are there data copies between kernel and user mode if I do IO to a block device or is it zero copy? Kind of related to Question (2) also. 2. A related question to (1), is the QEMU process separate from

Re: Some more basic questions..

2014-06-02 Thread Zhang Haoyu
A few additional questions:) 1. If IO to a block device goes through QEMU and not vhost, are there data copies between kernel and user mode if I do IO to a block device or is it zero copy? Kind of related to Question (2) also. I'm not sure, it perhaps depend on which IO mode you chose, qemu

Re: Some more basic questions..

2014-06-02 Thread Marcus White
On Mon, Jun 2, 2014 at 8:43 PM, Zhang Haoyu zhan...@sangfor.com wrote: A few additional questions:) 1. If IO to a block device goes through QEMU and not vhost, are there data copies between kernel and user mode if I do IO to a block device or is it zero copy? Kind of related to Question (2) also

Re: Some more basic questions..

2014-05-30 Thread Zhang Haoyu
Thanks Zhang and Venkateshwara, some more follow up questions below:) 1. Does -realtime mlock=on allocate all the memory upfront and keep it for the VM, or does it just make sure the memory that is allocated within the guest is not swapped out under host memory pressure? “-realtime mlock

RE: Some more basic questions..

2014-05-29 Thread Venkateswara Rao Nandigam
, if you want to bypass QEMU, use vhost=ON on these virtio devices. -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Marcus White Sent: Thursday, May 29, 2014 2:30 AM To: kvm Subject: Some more basic questions.. Hello, Some more basic

Re: Some more basic questions..

2014-05-29 Thread Zhang Haoyu
Hello, Some more basic questions.. 1. How can I ensure that memory for the a guest is available and reserved? In other words, I bring up a Linux VM which has 4G allocated, I want to make sure it has all the 4G available right away. I saw references to balloon driver, it seemed like

Re: Some more basic questions..

2014-05-29 Thread Marcus White
Thanks Zhang and Venkateshwara, some more follow up questions below:) 1. Does -realtime mlock=on allocate all the memory upfront and keep it for the VM, or does it just make sure the memory that is allocated within the guest is not swapped out under host memory pressure? 2. I notice on a 4G

Some more basic questions..

2014-05-28 Thread Marcus White
Hello, Some more basic questions.. 1. How can I ensure that memory for the a guest is available and reserved? In other words, I bring up a Linux VM which has 4G allocated, I want to make sure it has all the 4G available right away. I saw references to balloon driver, it seemed like that was more

Naive questions regarding KVM

2014-05-22 Thread Mathew Li
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 case it is kvm-intel.ko. These modules are already present

Re: Naive questions regarding KVM

2014-05-22 Thread Jidong Xiao
On Fri, May 23, 2014 at 12:57 AM, Mathew Li mathew.li...@gmail.com 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

Re: Naive questions regarding KVM

2014-05-22 Thread Mathew Li
Thanks a lot Jidong. I will give it a run. Thanks! Matt On Thu, May 22, 2014 at 10:12 PM, Jidong Xiao jidong.x...@gmail.com wrote: On Fri, May 23, 2014 at 12:57 AM, Mathew Li mathew.li...@gmail.com wrote: Hi All, I want to learn KVM code. Apologies for asking really simple questions. I have

Re: Naive questions regarding KVM

2014-05-22 Thread Chai Wen
On 05/23/2014 12:57 PM, 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 case

Questions about interrupt injection

2014-03-26 Thread 缪天翔
Hi all, I want to implement a virtual pci device in qemu and when needed inject a virtual interrupt into the running guest. However, possibly this action would fail and crash the guest VM especially when the workload in guest is heavy. Qemu report the following errors: KVM: entry failed,

KVM Guest TLB flush IPI emulation questions

2014-01-08 Thread Hu Yaohui
Hi All, I have a question regarding Guest TLB flush IPI. Supposed we get two vcpus 0 and 1. When vcpu#0 wants to invalidate the tlb entry on vcpu#1. An IPI will be generated by lapic on vcpu#0 by writing to ICR which will cause a vmexit.

Re: Questions on how to reset ID numbers for virt Guests.

2013-09-11 Thread Paolo Bonzini
Il 11/09/2013 00:27, James Sparenberg ha scritto: I'm doing some experimenting in our Development lab and as a result I'm kickstarting over and over Virtual guests. This is of course causing the guest Id to increment by one with each test. I've googled around and tried searching the list but

Re: [libvirt-users] Questions on how to reset ID numbers for virt Guests.

2013-09-11 Thread Daniel P. Berrange
On Wed, Sep 11, 2013 at 09:47:07AM +0200, Paolo Bonzini wrote: Il 11/09/2013 00:27, James Sparenberg ha scritto: I'm doing some experimenting in our Development lab and as a result I'm kickstarting over and over Virtual guests. This is of course causing the guest Id to increment by one

Re: [libvirt-users] Questions on how to reset ID numbers for virt Guests.

2013-09-11 Thread James Sparenberg
Ok. and trust me right now it feels like my experiments will hit the wrap number ;). As for the other part. Thanks, now when my boss takes a look and panics I've got an answer. ;) I really appreciate the help. James Sparenberg Sys Admin III Linux Vudu Inc a Walmart Company On 09/11/2013

Re: [libvirt-users] Questions on how to reset ID numbers for virt Guests.

2013-09-11 Thread Eric Blake
On 09/11/2013 01:59 AM, Daniel P. Berrange wrote: On Wed, Sep 11, 2013 at 09:47:07AM +0200, Paolo Bonzini wrote: Il 11/09/2013 00:27, James Sparenberg ha scritto: I'm doing some experimenting in our Development lab and as a result I'm kickstarting over and over Virtual guests. This is of

Questions on how to reset ID numbers for virt Guests.

2013-09-10 Thread James Sparenberg
I'm doing some experimenting in our Development lab and as a result I'm kickstarting over and over Virtual guests. This is of course causing the guest Id to increment by one with each test. I've googled around and tried searching the list but have not found out how (if at all) it would be

Some questions about nested EPT

2013-08-30 Thread Arthur Chunqi Li
Hi there, When I test nested EPT (enable EPT of L2-L1 address translation), it occurred some questions when query IA32_VMX_EPT_VPID_CAP. 1. It show that bit 16 and 17 (support for 1G and 2M page) are disabled in nested IA32_VMX_EPT_VPID_CAP. Why nested EPT fails to support these? Are there any

RE: external snapshot-delete questions

2013-01-23 Thread Skardal, Harald
Using RHEL7A2 with newest libvirt etc. Doing some work that uses external snapshot and qcow2. I understand that virsh snapshot-delete domain snap-name is not implemented yet. Neither can you destroy/delete a VM that has external snapshots. Is there another way to delete snapshots? Is there a

Re: KVM: Questions and comments on make_all_cpus_request

2013-01-16 Thread Takuya Yoshikawa
On Tue, 15 Jan 2013 19:43:40 -0500 Christoffer Dall cd...@cs.columbia.edu wrote: @@ -201,9 +222,13 @@ void kvm_flush_remote_tlbs(struct kvm *kvm) { long dirty_count = kvm-tlbs_dirty; - smp_mb(); + smp_mb(); /* TODO: Someone should explain this! */ if

Re: KVM: Questions and comments on make_all_cpus_request

2013-01-16 Thread Marcelo Tosatti
On Tue, Jan 15, 2013 at 07:43:40PM -0500, Christoffer Dall wrote: Hi KVM guys, I've had a bit of challenges figuring out the exact functinality and synchronization of vcpu-requests and friends. In lack of a better method, I wrote some comments as a patch. I think this code really

Re: KVM: Questions and comments on make_all_cpus_request

2013-01-16 Thread Gleb Natapov
On Tue, Jan 15, 2013 at 07:43:40PM -0500, Christoffer Dall wrote: Hi KVM guys, I've had a bit of challenges figuring out the exact functinality and synchronization of vcpu-requests and friends. In lack of a better method, I wrote some comments as a patch. I think this code really

KVM: Questions and comments on make_all_cpus_request

2013-01-15 Thread Christoffer Dall
Hi KVM guys, I've had a bit of challenges figuring out the exact functinality and synchronization of vcpu-requests and friends. In lack of a better method, I wrote some comments as a patch. I think this code really deserves some explaining, as it is really hard to understand otherwise.

Re: vga passthrough // questions about pci passthrough

2012-12-13 Thread Erik Hardesty
I'm not sure if this will help the KVM camp at all but I have a very similar situation. I have a Radeon 7970 and a Xonar DX which uses the same chipset and pci-pcie bridge. The best I could get passthrough to work in KVM was exactly the same as the original poster's experience. I eventually

Re: vga passthrough // questions about pci passthrough

2012-10-02 Thread Martin Wolf
Hello, would a Memory Dump from inside the VM help solving the BSOD, or is that pointless? Thank you for your patience and help ;) Am 28.09.2012 18:29, schrieb Jan Kiszka: On 2012-09-28 17:50, Alex Williamson wrote: On Fri, 2012-09-28 at 10:12 +0200, Jan Kiszka wrote: On 2012-09-27 21:18,

Re: vga passthrough // questions about pci passthrough

2012-09-28 Thread Jan Kiszka
On 2012-09-27 21:18, Alex Williamson wrote: On Thu, 2012-09-27 at 20:43 +0200, Martin Wolf wrote: thank you for the information. i will try what you mentioned... do you have some additional information about rebooting a VM with a passed through videocard? (amd / ati 7870) I don't. Is

Re: vga passthrough // questions about pci passthrough

2012-09-28 Thread Martin Wolf
well my first tests with the vga rom were useless because of apparmor rules i guess now i placed the vga.rom in /usr/share/qemu ... well the error is gone now but no changes ;) so i added the bar parameter but it also made no difference :( are you interested in the windows memory dump from the

Re: vga passthrough // questions about pci passthrough

2012-09-28 Thread Alex Williamson
On Fri, 2012-09-28 at 10:12 +0200, Jan Kiszka wrote: On 2012-09-27 21:18, Alex Williamson wrote: On Thu, 2012-09-27 at 20:43 +0200, Martin Wolf wrote: thank you for the information. i will try what you mentioned... do you have some additional information about rebooting a VM with a

Re: vga passthrough // questions about pci passthrough

2012-09-28 Thread Jan Kiszka
On 2012-09-28 17:50, Alex Williamson wrote: On Fri, 2012-09-28 at 10:12 +0200, Jan Kiszka wrote: On 2012-09-27 21:18, Alex Williamson wrote: On Thu, 2012-09-27 at 20:43 +0200, Martin Wolf wrote: thank you for the information. i will try what you mentioned... do you have some additional

Re: vga passthrough // questions about pci passthrough

2012-09-27 Thread Martin Wolf
to my questions... 1. is it possible to reset the videocard properly to be able to reboot the vm? Which versions of kernel and qemu-kvm are involved via your distro? Can you retry with latest Linux (3.5-rcX) / lastest qemu-kvm? Maybe something got fixed meanwhile. In general

Re: vga passthrough // questions about pci passthrough

2012-09-27 Thread Alex Williamson
output. (do you need it without the option?) the unigine benchmark ran flawlessly also the benchmark included in windows gave my videocard similar values (7.7) comparable with my native win7 (7.9) now to my questions... 1. is it possible to reset the videocard properly to be able

Re: vga passthrough // questions about pci passthrough

2012-09-27 Thread Martin Wolf
it with ignore_msrs=1 since if i dont do that i get less output. (do you need it without the option?) the unigine benchmark ran flawlessly also the benchmark included in windows gave my videocard similar values (7.7) comparable with my native win7 (7.9) now to my questions... 1. is it possible

Re: vga passthrough // questions about pci passthrough

2012-09-27 Thread Alex Williamson
On Thu, 2012-09-27 at 20:43 +0200, Martin Wolf wrote: thank you for the information. i will try what you mentioned... do you have some additional information about rebooting a VM with a passed through videocard? (amd / ati 7870) I don't. Is the bsod on reboot only or does it also happen

Re: vga passthrough // questions about pci passthrough

2012-09-27 Thread Martin Wolf
when will that support be implemented? how do i enable debug support for the pci-assign driver? Am 27.09.2012 21:18, schrieb Alex Williamson: On Thu, 2012-09-27 at 20:43 +0200, Martin Wolf wrote: thank you for the information. i will try what you mentioned... do you have some additional

Re: vga passthrough // questions about pci passthrough

2012-09-27 Thread Alex Williamson
On Thu, 2012-09-27 at 21:37 +0200, Martin Wolf wrote: when will that support be implemented? how do i enable debug support for the pci-assign driver? I believe the target is qemu 1.3 for q35. Debug is enabled by uncommenting the DEVICE_ASSIGNMENT_DEBUG define in hw/kvm/pci-assign.c (or

Re: vga passthrough // questions about pci passthrough

2012-09-27 Thread Martin Wolf
about your question if the bsod also happens on shutdown, i have to deny it. it just happens after an msi message in kernel log on rebooting the vm. (but the msi message is also there on initial boot where the system works perfectly) in my oppinion at the moment when the video driver is

Re: vga passthrough // questions about pci passthrough

2012-07-19 Thread Martin Wolf
with my native win7 (7.9) now to my questions... 1. is it possible to reset the videocard properly to be able to reboot the vm? Which versions of kernel and qemu-kvm are involved via your distro? Can you retry with latest Linux (3.5-rcX) / lastest qemu-kvm? Maybe something got fixed

Re: vga passthrough // questions about pci passthrough

2012-07-19 Thread Jan Kiszka
On 2012-07-19 16:54, Martin Wolf wrote: i tried now the alpha of ubuntu 12.10 that includes qemu-kvm 1.1 and a 3.5 kernel version. the msr problem is gone now, i was able to select sandybridge as cpu topology, this removed the MSR error messages. thats the positive part... unfortunately

Re: vga passthrough // questions about pci passthrough

2012-07-19 Thread Alex Williamson
you need it without the option?) the unigine benchmark ran flawlessly also the benchmark included in windows gave my videocard similar values (7.7) comparable with my native win7 (7.9) now to my questions... 1. is it possible to reset the videocard properly to be able

Re: vga passthrough // questions about pci passthrough

2012-07-18 Thread Jan Kiszka
to KVM? the unigine benchmark ran flawlessly also the benchmark included in windows gave my videocard similar values (7.7) comparable with my native win7 (7.9) now to my questions... 1. is it possible to reset the videocard properly to be able to reboot the vm? Which versions

Re: vga passthrough // questions about pci passthrough

2012-07-18 Thread Martin Wolf
it with ignore_msrs=1 since if i dont do that i get less output. (do you need it without the option?) the unigine benchmark ran flawlessly also the benchmark included in windows gave my videocard similar values (7.7) comparable with my native win7 (7.9) now to my questions... 1. is it possible

Re: vga passthrough // questions about pci passthrough

2012-07-18 Thread Martin Wolf
native win7 (7.9) now to my questions... 1. is it possible to reset the videocard properly to be able to reboot the vm? Which versions of kernel and qemu-kvm are involved via your distro? Can you retry with latest Linux (3.5-rcX) / lastest qemu-kvm? Maybe something got fixed meanwhile

Re: vga passthrough // questions about pci passthrough

2012-07-18 Thread Alex Williamson
you need it without the option?) the unigine benchmark ran flawlessly also the benchmark included in windows gave my videocard similar values (7.7) comparable with my native win7 (7.9) now to my questions... 1. is it possible to reset the videocard properly to be able

vga passthrough // questions about pci passthrough

2012-07-17 Thread Martin Wolf
- kernel : iommu=on - kvm module: ignore_msrs=1 (if i would not set it the guest os would crash with a bluescreen) the unigine benchmark ran flawlessly also the benchmark included in windows gave my videocard similar values (7.7) comparable with my native win7 (7.9) now to my questions... 1

Re: Is there a mail-list for answering questions against kvm??

2012-06-28 Thread Ademar de Souza Reis Jr.
On Tue, Jun 26, 2012 at 10:50:36AM +0800, Zhengwang Ruan wrote: Hello, I am freshman to this community, I want to know if there is a mail-list in which I can ask questions against kvm and people are willing to answer too? Thanks! :-) Hi Zhengwang, welcome to KVM. You can try IRC: #kvm

Some questions from a freshman to this community

2012-06-25 Thread Zhengwang Ruan
Hi all, I am freshman to this community, I have some questions roughly about how does KVM work, please help me answer these questions, thank you! 1, What is the relation between kvm-mod and kvm-qemu? Is kvm-qemu mainly used to emulate the first initial 16-bit code of a guest, then this qemu

Re: Some questions from a freshman to this community

2012-06-25 Thread Zhengwang Ruan
Hi guys, Could you guys kindly help me answer these questions below? This is very helpful for me to learn kvm. Thanks! :-) Regards, Zhengwang Original Message From: Zhengwang Ruan Sent: 2012年06月26日 星期二 10时16分49秒 To: kvm Subject: Some questions from a freshman

Is there a mail-list for answering questions against kvm??

2012-06-25 Thread Zhengwang Ruan
Hello, I am freshman to this community, I want to know if there is a mail-list in which I can ask questions against kvm and people are willing to answer too? Thanks! :-) Regards, Zhengwang -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord

Re: __direct_map() questions

2012-01-14 Thread Nick H
On Wed, Jan 11, 2012 at 11:13 AM, Marcelo Tosatti mtosa...@redhat.com wrote: Hi, See Documentation/virtual/kvm/mmu.txt in the kernel source tree. Thanks for pointing me in the right direction. Based on some basic debugging and past kvm forum presentations, shadow page tables fold the

Re: __direct_map() questions

2012-01-11 Thread Marcelo Tosatti
Hi, See Documentation/virtual/kvm/mmu.txt in the kernel source tree. On Tue, Jan 10, 2012 at 11:41:41AM -0800, Nick H wrote: Hello All, I am preparing for a presentation for my community college, newbie to the kvm world. I am trying to understand kvm implementation. I am interested in

__direct_map() questions

2012-01-10 Thread Nick H
()-shadow_walk_xxx()  (called in context of handle_ept_violation() ) functions using the gfn to find the iterator.sptep. It passes this iterator.sptep to the mmu_set_spte(). While I can read the code, a few questions: 1. What is the shadow_page_xxx() walk achieving ? Why is this walk necessary ? 2. Which

Re: [kvm] Re: [kvm] Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-10-02 Thread Avi Kivity
On 09/29/2011 09:46 PM, Robin Lee Powell wrote: On Thu, Sep 29, 2011 at 02:22:43PM -0300, Marcelo Tosatti wrote: On Wed, Sep 28, 2011 at 05:14:47PM -0700, Robin Lee Powell wrote: Please post the contents of /proc/meminfo and /proc/zoneinfo when this is happening. I

Re: [kvm] Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-29 Thread Marcelo Tosatti
On Wed, Sep 28, 2011 at 05:14:47PM -0700, Robin Lee Powell wrote: Please post the contents of /proc/meminfo and /proc/zoneinfo when this is happening. I just noticed that the amount of RAM the VMs had in VIRT added up to considerably more than the host's actual RAM; hard_limit is now

Re: [kvm] Re: [kvm] Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-29 Thread Robin Lee Powell
On Thu, Sep 29, 2011 at 02:22:43PM -0300, Marcelo Tosatti wrote: On Wed, Sep 28, 2011 at 05:14:47PM -0700, Robin Lee Powell wrote: Please post the contents of /proc/meminfo and /proc/zoneinfo when this is happening. I just noticed that the amount of RAM the VMs had in VIRT added

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-28 Thread Robin Lee Powell
On Tue, Sep 27, 2011 at 12:49:29PM +0300, Avi Kivity wrote: On 09/27/2011 12:00 PM, Robin Lee Powell wrote: On Tue, Sep 27, 2011 at 01:48:43AM -0700, Robin Lee Powell wrote: On Tue, Sep 27, 2011 at 04:41:33PM +0800, Emmanuel Noobadmin wrote: On 9/27/11, Robin Lee

Re: [kvm] Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-28 Thread Robin Lee Powell
On Wed, Sep 28, 2011 at 05:11:06PM -0700, Robin Lee Powell wrote: On Tue, Sep 27, 2011 at 12:49:29PM +0300, Avi Kivity wrote: On 09/27/2011 12:00 PM, Robin Lee Powell wrote: On Tue, Sep 27, 2011 at 01:48:43AM -0700, Robin Lee Powell wrote: On Tue, Sep 27, 2011 at 04:41:33PM +0800,

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-27 Thread Robin Lee Powell
On Mon, Sep 26, 2011 at 04:15:37PM +0800, Emmanuel Noobadmin wrote: On 9/26/11, Robin Lee Powell rlpow...@digitalkingdom.org wrote: On Mon, Sep 26, 2011 at 01:49:18PM +0800, Emmanuel Noobadmin wrote: On 9/25/11, Robin Lee Powell rlpow...@digitalkingdom.org wrote: OK, so I've got a Linux

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-27 Thread Emmanuel Noobadmin
On 9/27/11, Robin Lee Powell rlpow...@digitalkingdom.org wrote: On Mon, Sep 26, 2011 at 04:15:37PM +0800, Emmanuel Noobadmin wrote: It's unrelated to what you're actually using as the disks, whether file or block devices like LVs. I think it just makes KVM tell the host not to cache I/O done

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2011 at 04:41:33PM +0800, Emmanuel Noobadmin wrote: On 9/27/11, Robin Lee Powell rlpow...@digitalkingdom.org wrote: On Mon, Sep 26, 2011 at 04:15:37PM +0800, Emmanuel Noobadmin wrote: It's unrelated to what you're actually using as the disks, whether file or block devices

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2011 at 01:48:43AM -0700, Robin Lee Powell wrote: On Tue, Sep 27, 2011 at 04:41:33PM +0800, Emmanuel Noobadmin wrote: On 9/27/11, Robin Lee Powell rlpow...@digitalkingdom.org wrote: On Mon, Sep 26, 2011 at 04:15:37PM +0800, Emmanuel Noobadmin wrote: It's unrelated to

Re: [kvm] Re: [kvm] Re: Questions about duplicate memory work

2011-09-27 Thread Avi Kivity
On 09/27/2011 12:00 PM, Robin Lee Powell wrote: On Tue, Sep 27, 2011 at 01:48:43AM -0700, Robin Lee Powell wrote: On Tue, Sep 27, 2011 at 04:41:33PM +0800, Emmanuel Noobadmin wrote: On 9/27/11, Robin Lee Powellrlpow...@digitalkingdom.org wrote: On Mon, Sep 26, 2011 at 04:15:37PM

  1   2   3   >