Re: [Qemu-discuss] Singlestepping & Target assembly instructions

2015-09-17 Thread Peter Maydell
On 15 September 2015 at 20:30, Peter Maydell <peter.mayd...@linaro.org> wrote: > The optimisation that is tripping you up is that we chain TBs together, > which means we will run a long chain of TBs and only print the 'exec' > trace for the first one. (The exec tracing in cur

Re: [Qemu-discuss] Singlestepping & Target assembly instructions

2015-09-17 Thread Peter Maydell
On 17 September 2015 at 19:50, Scott Dattalo <scott.datt...@gmail.com> wrote: > > > On 9/17/2015 1:37 AM, Peter Maydell wrote: >> >> >> Patch on list now, from Richard Henderson: >> http://patchwork.ozlabs.org/patch/518643/ > Thanks Peter. How do you e

Re: [Qemu-discuss] How to detect old arch?

2015-09-16 Thread Peter Maydell
On 16 September 2015 at 04:30, Dale R. Worley <wor...@alum.mit.edu> wrote: > Peter Maydell <peter.mayd...@linaro.org> writes: >>> I have an ISO fromat via dd from an old scsi unix: >>> // >>> dd if=/dev/hdc of=./all_files.iso >

Re: [Qemu-discuss] Singlestepping & Target assembly instructions

2015-09-15 Thread Peter Maydell
On 15 September 2015 at 19:38, Scott Dattalo wrote: > The answer provided doesn't work (at least with the latest QEmu in git). > Specifically, it appears that once a TB has been cached there is no way to > trace instruction execution. Similar to Manu, I invoke QEmu with

Re: [Qemu-discuss] Qemu-system-sparc: What would I need to change to add functionality to save the nvram content between boots ?

2015-09-14 Thread Peter Maydell
On 14 September 2015 at 15:44, Jakob Bohm <jb-gnumli...@wisemo.com> wrote: > On 14/09/2015 11:33, Peter Maydell wrote: >> Rather than reinventing the wheel I suggest looking at how QEMU >> already supports file-backed ROMs for other platforms... > > Note that this is

Re: [Qemu-discuss] Qemu-system-sparc: What would I need to change to add functionality to save the nvram content between boots ?

2015-09-14 Thread Peter Maydell
On 14 September 2015 at 00:25, Programmingkid wrote: > > On Sep 13, 2015, at 7:20 PM, Bodo Eggert wrote: > >> On Sun, 13 Sep 2015, Programmingkid wrote: >>> On Sep 13, 2015, at 5:50 PM, Bodo Eggert wrote: On Sun, 13 Sep 2015, Mark Cave-Ayland wrote: > On

Re: [Qemu-discuss] compile qemu.git failed on RHEL6

2015-09-09 Thread Peter Maydell
On 9 September 2015 at 07:59, Zheng, Di wrote: > Compile qemu.git failed on RHEL6 while succeed on RHEL7. > GEN x86_64-softmmu/config-devices.mak > > GEN config-all-devices.mak > > Traceback (most recent call last): > > File

Re: [Qemu-discuss] Bug reports ?

2015-08-22 Thread Peter Maydell
On 23 August 2015 at 01:09, Ken Moffat zarniwh...@ntlworld.com wrote: Is this the right place to ask about what seems to be a fairly catastrophic bug (host machine running recent x86_64 linux and 4.2-rc kernels locks up with 2.4.0 when qemu is running but seems fine with 2.3.0) or do I need to

Re: [Qemu-discuss] KVM on Mac OS X host

2015-08-21 Thread Peter Maydell
On 19 August 2015 at 20:40, Programmingkid programmingk...@gmail.com wrote: On Aug 19, 2015, at 3:25 PM, Peter Maydell wrote: On 18 August 2015 at 14:12, Programmingkid programmingk...@gmail.com wrote: Do you think this should be a Google Summer of Code project? I guess it's probably a size

Re: [Qemu-discuss] KVM on Mac OS X host

2015-08-21 Thread Peter Maydell
On 21 August 2015 at 23:22, Programmingkid programmingk...@gmail.com wrote: Do you think there is any hope for hypervisor support in Mac OS X for QEMU? It's not impossible. But it would require somebody who: * cares about it working * is technically capable of implementing it * is willing to

Re: [Qemu-discuss] KVM on Mac OS X host

2015-08-20 Thread Peter Maydell
On 18 August 2015 at 14:12, Programmingkid programmingk...@gmail.com wrote: Do you think this should be a Google Summer of Code project? I guess it's probably a size that would work for a GSoC project with a suitably capable and enthusiastic student. Are you asking because you would want to do

Re: [Qemu-discuss] KVM on Mac OS X host

2015-08-18 Thread Peter Maydell
On 18 August 2015 at 01:51, Programmingkid programmingk...@gmail.com wrote: If we did use Mac OS 10.10's hypervisor, I'm thinking that would mean everyone using Mac OS 10.9 and below would not be able to use it. Does implementing one ourselves that could work on Mac OS 10.5 and up sound

Re: [Qemu-discuss] Do arm cpu emulator and arm dynamic translator work together?

2015-07-27 Thread Peter Maydell
On 27 July 2015 at 01:10, Devendra Agarwal devendra020...@gmail.com wrote: Do arm cpu emulator and arm dynamic translator work together? The ARM CPU emulation *is* by dynamic translation. That's how it works... I do not have very good understanding but I am assuming that an arm cpu emulator

Re: [Qemu-discuss] How to get console output after spawning new process

2015-07-24 Thread Peter Maydell
On 24 July 2015 at 16:54, Maciej Bielski biel...@fastmail.net wrote: Ok, I have found a solution. The process spawned was using SIGUSR1 to signal something to the parent process (device internals). It seems that QEMU uses SIGUSR1 internally because when I have switched to SIGUSR2 it works as

Re: [Qemu-discuss] basic test on sparc native

2015-07-20 Thread Peter Maydell
On 20 July 2015 at 21:35, Jeremy Hansen jer...@skidrow.la wrote: New to Qemu and just trying to use the linux-0.2.img test image running on native sparc hardware: root@sparc1:/usr/local/src/qemu# /usr/local/bin/qemu-system-x86_64 linux-0.2.img WARNING: Image format was not specified for

Re: [Qemu-discuss] Tracking state in QEMU (CPU registers, memory, etc)

2015-07-04 Thread Peter Maydell
On 4 July 2015 at 08:36, Morten W. Petersen morp...@gmail.com wrote: I was wondering if it is possible to see what's going on, on machine code level using QEMU. For example, would it be possible to call some function or interrupt when running Linux inside QEMU X86 emulation mode and be able

Re: [Qemu-discuss] Changing emulator in virsh XML file

2015-06-18 Thread Peter Maydell
On 18 June 2015 at 12:20, Venkateswara Rao Dokku dvrao@gmail.com wrote: error: Failed to create domain from NSVPX-KVM.xml error: internal error Process exited while reading console log output: libvir: error : cannot execute binary /root/ovdk/qemu/x86_64-softmmu/qemu-system-x86_64:

Re: [Qemu-discuss] Deterministic record/replay feature?

2015-06-05 Thread Peter Maydell
On 5 June 2015 at 17:38, Igor R boost.li...@gmail.com wrote: This particular set is quite recent, but IUUC, this is a continuation of a long series, which begins several months ago: http://lists.nongnu.org/archive/html/qemu-devel/2014-12/msg00805.html Is it all still not applied? Correct --

Re: [Qemu-discuss] Deterministic record/replay feature?

2015-06-05 Thread Peter Maydell
On 5 June 2015 at 17:06, Igor R boost.li...@gmail.com wrote: On qemu-devel list one can see a series of patches for record/replay feature: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg00441.html What is the status of this feature? Is it a part of some qemu branch? It's a (recent)

Re: [Qemu-discuss] Stopping and snapshoting at arbitrary point

2015-06-04 Thread Peter Maydell
On 4 June 2015 at 06:53, Igor R boost.li...@gmail.com wrote: Is it possible to stop QEMU at an arbitrary point and save a snapshot? I'm using PANDA framework built upon QEMU, and I'm attempting to stop and make a snapshot within a PANDA callback, as I described here:

Re: [Qemu-discuss] error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in this function)

2015-05-19 Thread Peter Maydell
On 19 May 2015 at 03:01, qiaojianfeng qiaojianf...@unitedstack.com wrote: I’m not sure whether I post the issue in the right place, if not correct, sorry for noise and please help me route this email to the right place. I've cc'd qemu-devel and the block maintainer. I’m running into an error

Re: [Qemu-discuss] Using qemu-arm as an interpreter

2015-05-14 Thread Peter Maydell
On 14 May 2015 at 12:33, Dave Flogeras dfloger...@gmail.com wrote: I have qemu-arm (user) installed on my machine. I use to to chroot into arm sysroots (via binfmt_misc) and also I use it to run cross-compiled unit test suites on an amd64 host. For the purpose of this example, I have two

Re: [Qemu-discuss] [qemu-discuss] 68k on QEMU

2015-05-06 Thread Peter Maydell
On 6 May 2015 at 09:48, Nakul Vyas mailna...@gmail.com wrote: Hi everyone, I tried using a qemu-system-m68k (on raspbian) with test kernel of uCLinux but it hangs (I am attaching the screenshot of that ). The first question is: does this work on an x86 Linux host? That will rule out problems

Re: [Qemu-discuss] AARCH64 KVM accelerate 32bit guest OS

2015-04-22 Thread Peter Maydell
On 22 April 2015 at 17:15, nibon7 nib...@163.com wrote: Hi, Is it possible to accelerate 32bit VMs(armv7) with kvm on aarch64? With QEMU 2.3 you should be able to run a 32-bit VM on AArch64. Note that it will be ARMv8 32-bit, not ARMv7, but the guest is unlikely to really care.

Re: [Qemu-discuss] qemu-system-arm and armhf

2015-03-30 Thread Peter Maydell
On 30 March 2015 at 08:24, benoit ROUSSELLE brousse...@gmail.com wrote: Dear All, i am running a debian8 amd64 machine and i would like to emulate an: armhf machine with kernel 3.8 (docker testing) following this: https://gist.github.com/bdsatish/7476239 i succeed to have a debian7 (3.2

Re: [Qemu-discuss] Qemu versatilepb booting u-boot from flash

2015-03-26 Thread Peter Maydell
On 25 March 2015 at 11:08, Marcin Krzemiński mar.krzemin...@gmail.com wrote: I want to start u-boot ( or any other bear metal program ) from flash in versatilepb board. I am usung a command: qemu-system-arm -M versatilepb -m 128M -serial stdio -pflash flash.bin -display none -monitor null

Re: [Qemu-discuss] Basic Question on QEMU Internals

2015-03-26 Thread Peter Maydell
On 26 March 2015 at 19:01, Patrick plafr...@gmail.com wrote: Like bochs [3], QEMU emulates an x86 CPU. This is true but somewhat incomplete -- we also emulate many other guest CPU types including ARM, MIPS and PPC. The whole translation task thus consists of two parts: blocks of target code

Re: [Qemu-discuss] Basic Question on QEMU Internals

2015-03-26 Thread Peter Maydell
On 26 March 2015 at 21:24, Patrick plafr...@gmail.com wrote: That affects the fine detail of exactly how we translate the guest code... I see that the list of x86 cpus includes Nehalem, Westmere, Penryn, and many others. I was somewhat interested in what QEMU is doing differently when

Re: [Qemu-discuss] Starting troubles in running stm32f4 on an i386

2015-03-06 Thread Peter Maydell
On 7 March 2015 at 00:54, Jakob Bohm jb-gnumli...@wisemo.com wrote: Life would be so much easier if the Arm machines supported by the Linux kernel, qemu etc. were more like the PC architectures: Well, perhaps, but the ARM ecosystem is not like x86. In x86 everything in the world is basically

Re: [Qemu-discuss] Starting troubles in running stm32f4 on an i386

2015-03-04 Thread Peter Maydell
On 4 March 2015 at 20:16, Srinath M srinath3...@gmail.com wrote: I am new to qemu and want to run a program meant for arm-cortex-m3 on an i386. So i ran the following command ./qemu-system-arm -cpu cortex-m3 -S -s -singlestep -nographic -m 513 -kernel hello.elf I get the following output

Re: [Qemu-discuss] No USB host controller and devices on virtualized guest OS (on Arndale board)

2015-02-05 Thread Peter Maydell
On 5 February 2015 at 16:11, guillaume.men...@orange.com wrote: I just found out that mouse and keyboard are working correctly BUT the issue is that QEMU graphical window is badly refreshed... It's also linked to my other message about the graphical issue. Can you confirm which host OS and

Re: [Qemu-discuss] No USB host controller and devices on virtualized guest OS (on Arndale board)

2015-02-05 Thread Peter Maydell
On 5 February 2015 at 16:26, guillaume.men...@orange.com wrote: On 5 February 2015 at 16:11, guillaume.men...@orange.com wrote: I just found out that mouse and keyboard are working correctly BUT the issue is that QEMU graphical window is badly refreshed... It's also linked to my other

Re: [Qemu-discuss] No USB host controller and devices on virtualized guest OS (on Arndale board)

2015-02-05 Thread Peter Maydell
On 5 February 2015 at 10:44, Eric Valette eric.vale...@free.fr wrote: On 05/02/2015 11:39, Peter Maydell wrote: For Android emulation you'll need 3D acceleration to get good performance anyway, which upstream QEMU doesn't have. Granted. You might want to investigate the new upstream Android

Re: [Qemu-discuss] No USB host controller and devices on virtualized guest OS (on Arndale board)

2015-02-04 Thread Peter Maydell
On 4 February 2015 at 14:13, guillaume.men...@orange.com wrote: We are currently trying to launch an Ubuntu guest OS (with virtualization/kvm) on a Cortex-A15/Exynos 5250 Arndale board with the following qemu command line : qemu-system-arm \ -enable-kvm \ -m 512 -M vexpress-a15 -cpu

Re: [Qemu-discuss] problem with arm cortex-m3

2015-02-03 Thread Peter Maydell
On 3 February 2015 at 17:05, Attila Csosz csos...@gmail.com wrote: GCC command line arm-none-eabi-gcc -o main.elf main.c -g -mcpu=cortex-m3 -mthumb --specs=rdimon.specs -lc -lrdimon You're building for the Cortex-M3... Starting QEMU qemu-system-arm -machine versatilepb -nographic -monitor

Re: [Qemu-discuss] problem with arm cortex-m3

2015-02-03 Thread Peter Maydell
On 3 February 2015 at 17:37, Attila Csosz csos...@gmail.com wrote: Tried with the new board but the result almost the same. The programs stays at 0x after Ctrl+C Well, is your program targeting that board? Does it (for instance) link at an address corresponding to flash or RAM on those

Re: [Qemu-discuss] QEMU: DBT vs. Interpretation

2015-01-28 Thread Peter Maydell
On 28 January 2015 at 02:51, Dale R. Worley wor...@alum.mit.edu wrote: Javier Picorel javier.pico...@epfl.ch writes: We are trying to make QEMU deterministic for architectural simulation. In the absence of I/O, let's say only user code or exceptions, is there any source of indeterminism

Re: [Qemu-discuss] qemu-system-arm - machines with more than 1 GB RAM?

2015-01-28 Thread Peter Maydell
On 28 January 2015 at 16:02, Stefan strawberrybl...@googlemail.com wrote: I'd like to emulate an armhf platform with at least 2, better 4 or more GB RAM, allthough didn't find one supported by qemu. (most was vexpress-a9 with up to 1 GB) vexpress-a15 allows up to 30GB (assuming a 64-bit host

Re: [Qemu-discuss] Please Help! qemu build error (/usr/bin/ld: -f may not be used without -shared)

2015-01-20 Thread Peter Maydell
On 20 January 2015 at 12:10, Chan Kim c...@etri.re.kr wrote: when I run 'make', I get $make ...(many lines from make)... lt LINK vscclient /usr/bin/ld: -f may not be used without -shared collect2: ld returned 1 exit status make: *** [vscclient] Error 1 $ If I remove --disable-pie, I

Re: [Qemu-discuss] compiling qemu-2.2.0 static with libssh and SDL fails -help

2015-01-16 Thread Peter Maydell
On 16 January 2015 at 11:54, lux-integ lux-in...@btconnect.com wrote: Dear qemuers, I am new to this list. I am trying to compile qemu-2.2.0 statically My System has these: GCC-4.8.1, linux-3.10.61. I configure qemu-2.2.0 with the following switches:- The static build is only really

Re: [Qemu-discuss] How do i tell QEMU that memory i've have mapped is code?

2015-01-12 Thread Peter Maydell
On 12 January 2015 at 00:44, Peter Fillmore pe...@peterfillmore.com wrote: heres the code which creates the memory (contained in a custom driver): memory_region_init_ram(s-iomem, OBJECT(dev), arm-lpc213x-iap, 0x1000, NULL); sysbus_init_mmio(sd, s-iomem); char *memptr =

Re: [Qemu-discuss] How do i tell QEMU that memory i've have mapped is code?

2015-01-12 Thread Peter Maydell
On 12 January 2015 at 23:18, Peter Fillmore pe...@peterfillmore.com wrote: The setup code is edited for brevity: MemoryRegion *sysmem = get_system_memory(); MemoryRegion *iap = g_new(MemoryRegion, 1); //create pointer for region

Re: [Qemu-discuss] Incomplete '-d exec' traces?

2015-01-09 Thread Peter Maydell
On 9 January 2015 at 21:23, Evan Driscoll edrisc...@grammatech.com wrote: I am running an ARM program in single-process mode with '-d exec', and either the resulting traces are incomplete, I don't understand them, or something else is going on. Tried with QEMU 2.2.0; more detailed info about

Re: [Qemu-discuss] Qemu: AARCH64: Single Step exception does not work

2015-01-08 Thread Peter Maydell
On 8 January 2015 at 05:32, Pratyush Anand pan...@redhat.com wrote: Have anyone tried to test single step exception with ARM64 on Qemu? My Qemu version is: QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard AArch64 single step emulation was only added in QEMU 2.2... -- PMM

Re: [Qemu-discuss] How to use Xen accelerator with Qemu

2014-12-31 Thread Peter Maydell
On 30 December 2014 at 23:27, Rishi Ranjan rishi.rran...@gmail.com wrote: Hi Peter, The reason I asked this question here is that the errors I am getting is from the Qemu code which tries to use the guest Dom. The error is not coming from Xen as such. May be I can send the mail to

Re: [Qemu-discuss] How to use Xen accelerator with Qemu

2014-12-30 Thread Peter Maydell
On 30 December 2014 at 21:26, Rishi Ranjan rishi.rran...@gmail.com wrote: I was able to get this working. Xen headers were not getting included correctly. But now I am getting following error: qemu: hardware error: map shared IO page returned error 3 handle=0x7f9af6a7e7a I don't see any

Re: [Qemu-discuss] similar init problem in 2 develop iso's

2014-12-21 Thread Peter Maydell
On 21 December 2014 at 16:29, sacarde saca...@tiscali.it wrote: if I run: qemu-system-x86_64 -cdrom /home/sacarde/dati-estranei/q2/neon5-latest.iso -enable-kvm -k en-us -net nic -net tap,vlan=0,ifname=tap0 -boot d I have error: http://digilander.libero.it/sacarde/np/manjaro1.jpg For both

Re: [Qemu-discuss] Booting a standalone with qemu-microblaze

2014-12-17 Thread Peter Maydell
On 17 December 2014 at 17:23, Jakob Bohm jb-gnumli...@wisemo.com wrote: On 17/12/2014 14:36, Kevin Grandemange wrote: I am trying to boot my own kernel with qemu-microblaze but I can't get it running. I tried the following cmdline: qemu-system-microblaze img.elf qemu-system-microblaze -M

Re: [Qemu-discuss] 答复: How to execute an image under QEMU

2014-12-12 Thread Peter Maydell
On 12 December 2014 at 03:52, erics...@via-alliance.com wrote: Hi, Peter and all I am still confused on that problem, I delete the code ((int (*)(void))(env-eip))(); and just change env-eip to my image entrypoint, In the end the qemu is crash with useful information. After executing my

Re: [Qemu-discuss] How to get the content of Physical memory address ?

2014-12-04 Thread Peter Maydell
On 4 December 2014 at 09:01, erics...@via-alliance.com wrote: Hi, Experts I implement special function by helper function just used on x86 host. I can get the value of common registers (eg: eax,ebx), and this value of eax means the physical memory address. But when I access the content of

Re: [Qemu-discuss] Output many return values of some instruction

2014-12-01 Thread Peter Maydell
On 1 December 2014 at 02:53, erics...@via-alliance.com wrote: Hi, Peter 1) cpu_T[2] and cpu_T[3] have been built by me as same as cpu_[0] 1. Don't do that. Use local temporaries as I have been suggesting. 2) tcg_gen_getsec_tl(R_EAX, R_EBX, R_ECX, cpu_T[1]); I tried it before, but the

Re: [Qemu-discuss] QEMU using fuse-ext2

2014-11-29 Thread Peter Maydell
On 29 November 2014 at 11:31, Jones Smith atoomam...@gmail.com wrote: I am using QEMU from MacOSX, and I would like to emulate an arm system directly from my SD card (which I can do from Arch Linux). Actually, I can emulate the image of my SD card successfully (i.e. the *.img file that I

Re: [Qemu-discuss] 答复: Output many return values of some instruction

2014-11-28 Thread Peter Maydell
On 28 November 2014 at 02:27, erics...@via-alliance.com wrote: Hi,Peter Many thanks for you to reply, I am confused here in many days. Thanks you very much. Another problem, my instruction “Getsec” want to output 3 return value to eax/ebx/ecx and only one input parameter eax. But

Re: [Qemu-discuss] QMEU start error, HELP

2014-11-28 Thread Peter Maydell
On 28 November 2014 at 03:32, edonli edo...@126.com wrote: Can you tell me what`s your compile environment, and what img or kernel you used to build your QEMU. I currently build QEMU primarily on x86-64 Ubuntu 14.04 (trusty), with the stock gcc for that distro, which is 4.8.2-19ubuntu1. The

Re: [Qemu-discuss] Output many return values of some instruction

2014-11-27 Thread Peter Maydell
On 27 November 2014 at 02:47, erics...@via-alliance.com wrote: Many instructions can output only one return value by cpu_T[0] parameter, and input parameter is cpu_T[0], there is no other parameter to use for output more return value. How can I do it? For example: Common

Re: [Qemu-discuss] QMEU start error, HELP

2014-11-27 Thread Peter Maydell
On 27 November 2014 at 12:24, edonli edo...@126.com wrote: I have rebuilt qemu-2.2.0-rc3 with --enable-debug. Luckily,there is no running 'error'. Unfortunately, there is no any response since started. Using command 'top', the process is running normally without any output. How can this

Re: [Qemu-discuss] QMEU start error, HELP

2014-11-26 Thread Peter Maydell
On 26 November 2014 at 07:42, edonli edo...@126.com wrote: Hello everyone, I have happened to an error when running 'qemu-system-aarch64' of version qemu-2.2.0-rc3. The error is *** stack smashing detected. The start command is qemu-system-aarch64 -m 1024 -cpu cortex-a57 -nographic -machine

Re: [Qemu-discuss] QMEU start error, HELP

2014-11-26 Thread Peter Maydell
On 26 November 2014 at 11:55, Peter Maydell peter.mayd...@linaro.org wrote: On 26 November 2014 at 07:42, edonli edo...@126.com wrote: Hello everyone, I have happened to an error when running 'qemu-system-aarch64' of version qemu-2.2.0-rc3. The error is *** stack smashing detected

Re: [Qemu-discuss] inspect an instruction inside the translation block

2014-11-09 Thread Peter Maydell
On 9 November 2014 15:37, Ronen Meir ro...@centipede-semi.com wrote: I'm using Qemu with ARM as target OS. As far as I understand QEMU executes full translation blocks (TB). I would like to isolate and debug a specific instruction within a translation block. That depends on what you mean by

Re: [Qemu-discuss] qemu does not show any output on windows

2014-10-31 Thread Peter Maydell
On 31 October 2014 14:46, Kai Liu tjroa...@gmail.com wrote: Hi, I downloaded the qemu binary file and installed on my win7 64-bit machine. I can run qemu-system-i386.exe to load my own disk image. It seems to be working. One strange thing is that the console window (cmd) does not give me any

Re: [Qemu-discuss] Writing a QEMU block driver

2014-10-18 Thread Peter Maydell
On 18 October 2014 05:12, Sandeep Joshi sanjos...@gmail.com wrote: I'd like to write a QEMU block driver which forwards IO requests to a custom-built storage cluster. I have seen Jeff Cody's presentation and also browsed the source code for sheepdog, nbd and gluster in the block directory and

Re: [Qemu-discuss] qemu SMP support

2014-10-16 Thread Peter Maydell
On 16 October 2014 21:31, Pranith Kumar bobby.pr...@gmail.com wrote: I am trying to gather some instruction execution statistics of a multi-threaded program by adding some counters in TCG. I've learnt that multi-threaded execution is not supported in user mode and in system mode with TCG. Is

Re: [Qemu-discuss] Migration of AArch64 VM

2014-10-14 Thread Peter Maydell
On 14 October 2014 09:57, Yash Nandkeolyar yashn...@gmail.com wrote: Hi, We are trying to migrate an AArch64 VM using Qemu version 2.1(latest). I tried with Live and Offline migration. However, same error is observed in both cases: qemu-system-aarch64: Unknown migration flags: 0 qemu:

Re: [Qemu-discuss] Cortex-M3 and Cortex-M4 support

2014-10-06 Thread Peter Maydell
On 6 October 2014 19:13, Jeshwanth Kumar N K jeshkumar...@gmail.com wrote: I am working on an Cortex-m4 chip from Atmel, was searching whether Qemu supports for that architecture. My question is, Qemu supported for Cortex-m3 and M4 architecture ? If not, is there any development is going on

Re: [Qemu-discuss] qemu-system-arm hangs on OSX

2014-09-30 Thread Peter Maydell
On 30 September 2014 16:18, Brad Smith usernamenum...@gmail.com wrote: Anyway, I can now boot the Debian installer. But I'm still having problems when I try to boot the Cubuietruck version of lubuntu. Specifically, it fails with a qemu: fatal: Trying to execute code outside RAM or ROM at ...

Re: [Qemu-discuss] Uncaught target signal 11 (Segmentation fault) - core dumped

2014-09-26 Thread Peter Maydell
On 26 September 2014 09:58, Mauro Molinari mauro...@tiscali.it wrote: Il 22/09/2014 12:50, Peter Maydell ha scritto: Not everything will run under QEMU, our emulation has weak spots. The most common one is where the program you're running uses multiple threads -- this isn't supported under

Re: [Qemu-discuss] test1

2014-09-23 Thread Peter Maydell
On 23 September 2014 14:42, Paul Gydos p...@gydos.com wrote: your email goes out fine - it takes a half hour for the server to update Occasionally if the list server is having a bad day it can lag by hours, but mostly it's just a few minutes. If you're wondering if a mail you sent has gone out

Re: [Qemu-discuss] Issue with qemu chroot and musl

2014-09-18 Thread Peter Maydell
On 18 September 2014 12:14, Dave Flogeras dfloger...@gmail.com wrote: I have used aboriginal linux (http://landley.net/aboriginal/) 1.2.8 to create a musl based root filesystem with the following command: MUSL=1 ./build.sh armv6l After this I set up binfmt to call a qemu-arm (which I have

Re: [Qemu-discuss] setting default QEMU_CPU value for chroot env. where?

2014-09-05 Thread Peter Maydell
On 5 September 2014 04:52, grantksupp...@operamail.com wrote: Since, for RPi, 'armv6l' is the correct arch, where in the qemu config/setup -- either on host or in CHROOT -- can the default arch be set so that 'just' chroot /opt/raspbian-chroot bash -c uname -rm correctly returns

Re: [Qemu-discuss] Linux read information from Qemu

2014-09-03 Thread Peter Maydell
On 3 September 2014 12:05, 孙贝磊 sunnybe...@126.com wrote: How can Linux read the information from Qemu, for example, the cache miss rate. QEMU doesn't emulate caches and so we don't track statistics like cache miss rates at all. -- PMM

Re: [Qemu-discuss] Guest network performance is painfully slow

2014-08-18 Thread Peter Maydell
On 18 August 2014 07:09, Tony Su ton...@su-networking.com wrote: Unless someone says differently, I believe that doesn't change the likely fact that the main KVM is different than what you are doing and would perform much better. No, Julio is correct. The KVM functionality was all merged into

Re: [Qemu-discuss] Guest execution statistics from QEMU

2014-08-18 Thread Peter Maydell
On 18 August 2014 15:32, Dale R. Worley wor...@alum.mit.edu wrote: The per each function call metric is tricky, because you'd need to define what a function call is. In particular, on some guest CPU architectures it's genuinely not possible to reliably distinguish function call return from a

Re: [Qemu-discuss] gdb and qemu-system-aarch64 setup - breakpoint not reached

2014-08-07 Thread Peter Maydell
On 7 August 2014 21:45, Raghunath Lolur raghunathlolur.subscripti...@gmail.com wrote: I am using qemu-system emulator (qemu-system-aarch64) and gdb (aarch64-linux-gnu-gdb) to debug a c program, both running on the same system, i686-pc-linux-gnu on Ubuntu 12.04 LTS. However, with the gdb, if I

Re: [Qemu-discuss] Qemu buid error for arm

2014-06-30 Thread Peter Maydell
On 30 June 2014 13:01, Rekha Herur rekha.he...@sasken.com wrote: We are using Fast-model (FastModelsPortfolio_9.0) to simulate ARM cortexA15. We are building qemu 1.7 for arm but getting these errors , CCtests/qemu-iotests/socket_scm_helper.o LINK tests/qemu-iotests/socket_scm_helper

Re: [Qemu-discuss] how use qemu soundhw

2014-06-29 Thread Peter Maydell
On 29 June 2014 05:08, Programmingkid programmingk...@gmail.com wrote: On Jun 28, 2014, at 7:04 PM, Peter Maydell wrote: Our default of OSS made sense at the time, but since I think most modern Linux distros have moved away from it it might be worth reconsidering that choice. (The trouble

Re: [Qemu-discuss] how use qemu soundhw

2014-06-28 Thread Peter Maydell
On 25 June 2014 13:01, Programmingkid programmingk...@gmail.com wrote: On Jun 24, 2014, at 12:00 PM, qemu-discuss-requ...@nongnu.org wrote: I use -soun???dhw ac97,hda but it still print ??audio: Could not init `oss' audio driver? , and sound hw in the guest os(win7). This

Re: [Qemu-discuss] Trouble starting various qemu-system-*.exe on Windows 7

2014-06-23 Thread Peter Maydell
On 17 June 2014 22:07, Steere, Andy andy.ste...@troppussoftware.com wrote: On to the real problem - running qemu mipsel with a Debian release on a Windows 7, 64bit machine. 1. Installed the Windows 64 bit Qemu from here: http://qemu.weilnetz.de/w64/ 2. Use the vmlinux and qcow from here:

Re: [Qemu-discuss] rom: requested regions overlap qemu-system-mipsel

2014-06-23 Thread Peter Maydell
On 23 June 2014 01:28, Davor Herga davor.he...@guest.arnes.si wrote: Hello! Following some guidelines for using the qemu, I tried to use qemu-system-mipsel for the brcm47xx using openwrt-brcm47xx-generic-vmlinux-initramfs.elf, build by openwrt buildroot tools. Using the command -

Re: [Qemu-discuss] [Qemu-devel] Qemu ARM9 weirdness

2014-03-24 Thread Peter Maydell
On 24 March 2014 19:49, Joel Fernandes agnel.j...@gmail.com wrote: Now, I start gdb with -s -S options to halt on startup, and step through, each time I'm dumping the register set: .. Reading symbols from /home/joel/data/repo/linux-omap1/vmlinux...done. (gdb) info registers r0

Re: [Qemu-discuss] [Qemu-devel] e1000 patch for osx

2013-10-30 Thread Peter Maydell
On 30 October 2013 16:52, Paolo Bonzini pbonz...@redhat.com wrote: Il 25/10/2013 15:53, jacek burghardt ha scritto: Is there a patch for qemu git master that pre init e1000 so I can get rid off unpluged network cable message ? I know there is patch but is is for older version of qemu and it

<    2   3   4   5   6   7