Re: basic qemu question

2020-06-12 Thread Alex Bennée
David Beccue writes: > Thanks for your thoughts on this. > > Yes, the analysis is just a library without src code that I compile into my > firmware that runs on a Cortex-M3. > > With close to speed parity, I guess I could at least run a bunch in > parallel on my multicore AMD 1700x more easily

Re: basic qemu question

2020-06-12 Thread David Beccue
Thanks for your thoughts on this. Yes, the analysis is just a library without src code that I compile into my firmware that runs on a Cortex-M3. With close to speed parity, I guess I could at least run a bunch in parallel on my multicore AMD 1700x more easily than loading the code in 16 different

Re: How to tell if an emulated aarch64 CPU has stopped doing work?

2020-06-12 Thread Alex Bennée
Dave Bort writes: > We use qemu (4.0.0, about to flip the switch to 5.0.0) to test our aarch64 > images, running in linux containers on x86_64 alongside other workloads. > > We've recently run into issues where it looks like an emulated CPU (out of > four) sometimes stops making progress for te

Re: Compatibility question between versions

2020-06-12 Thread Alex Bennée
Dylan BROCHET writes: > Hi, > > I've a question of compatibility between 2 versions of qemu (used with KVM on > CentOS servers). > > How a kvm guest with a qcow2 disk installed in qemu version 1.5.0 can > work in qemu version 2.12.0 ? Is there backward compatibility ? Yes - as long as the machi

Re: basic qemu question

2020-06-12 Thread Alex Bennée
The following message is a courtesy copy of an article that has been posted to gmane.comp.emulators.qemu.user as well. David Beccue writes: > I have a pretty basic question about how qemu works... I have an > analysis library (no source) for ARM Cortex M3 processor that I'd like > to run on many

Re: Debugging multi-threaded TCG for aarch64 emulation (stalled vCPU)

2020-06-12 Thread Alex Bennée
Jesus Sanchez-Palencia writes: > Hi there, > > I'm investigating an intermittent issue where one of the vCPUs is > stalled during the MTCG main loop, so I'm sampling all vCPUs state to > rootcause the issue. How is it stalled? Is it busy looping running guest code or has it exited the run loop?

using qemu-img to convert vhd to raw, wrong size

2020-06-12 Thread Gerhard Gonter
HI, I received a disk image, originating from a Citrix VM, which I want to convert into raw format, so that I can mount it as a loopback device. Unfortunately, the resulting raw file is smaller than the space needed to hold the disk image. The raw image was created like this: qemu-img conver