Re: QEMU VM crashes when enabling KVM

2019-12-13 Thread Wayne Li
Thanks David and Zalton for the awesome explanations. They're very helpful to us! -Thanks, Wayne Li On Thu, Dec 12, 2019 at 9:49 PM David Gibson wrote: > On Thu, Dec 12, 2019 at 10:40:44AM -0600, Wayne Li wrote: > > Dear David Gibson, > > > > I know you are under no obligation to respond, but

Re: QEMU VM crashes when enabling KVM

2019-12-12 Thread David Gibson
On Thu, Dec 12, 2019 at 10:40:44AM -0600, Wayne Li wrote: > Dear David Gibson, > > I know you are under no obligation to respond, but if it's possible for you > to find the time to respond to my question, I would be extremely grateful. > My team at Boeing has been stuck trying to get KVM working f

Re: QEMU VM crashes when enabling KVM

2019-12-12 Thread BALATON Zoltan
Hello, I'm no expert on PPC KVM and don't have much experience with it myself so what I say may or may not be correct, it's just my understanding. Nevertheless I share it in the hope that it may help and maybe those who know will correct me. On Thu, Dec 12, 2019 at 1:17 AM Paolo Bonzini wr

Re: QEMU VM crashes when enabling KVM

2019-12-12 Thread Wayne Li
Dear David Gibson, I know you are under no obligation to respond, but if it's possible for you to find the time to respond to my question, I would be extremely grateful. My team at Boeing has been stuck trying to get KVM working for our project for the last few months. A good explanation of why t

Re: QEMU VM crashes when enabling KVM

2019-12-11 Thread Paolo Bonzini
On 12/12/19 02:59, Wayne Li wrote: > We wrote a project that is created on top of the QEMU source code; it > calls functions from the QEMU code.  I run the executable created by > compiling that project/QEMU code.  Anyway, looking at the following > documentation: > > https://www.kernel.org/doc/Do

Re: QEMU VM crashes when enabling KVM

2019-12-11 Thread Wayne Li
We wrote a project that is created on top of the QEMU source code; it calls functions from the QEMU code. I run the executable created by compiling that project/QEMU code. Anyway, looking at the following documentation: https://www.kernel.org/doc/Documentation/powerpc/cpu_families.txt It looks

Re: QEMU VM crashes when enabling KVM

2019-12-11 Thread Paolo Bonzini
On 11/12/19 22:23, Wayne Li wrote: > > Now I am fairly sure KVM is actually enabled on the system.  Finding > that out was another story that spanned a couple of months.  But long > story short, lsmod doesn't show that the KVM kernel module is running.  > But that's because KVM is built-in and it

QEMU VM crashes when enabling KVM

2019-12-11 Thread Wayne Li
Dear QEMU list members, So we developed a virtual machine that that runs on QEMU. The virtual machine emulates a certain piece of equipment running on a PowerPC 7457 processor. And we are running the virtual machine on a T4240-RDB which as a PowerPC e6500 processor. I can't give any more detail