Re: [Qemu-discuss] [Qemu-devel] How to stop `qemu-system-x86_64 ...` instead of `kill -9`?

2017-07-12 Thread Philippe Mathieu-Daudé
Hi Sam, On 07/12/2017 06:24 AM, Sam wrote: I'm running `qemu-system-x86_64 ...` to start a guest vm. Now I want to stop and destroy this vm, I found there is no `qemu-stop` related command, so I have to `kill -9` this process. How could I stop `qemu-system-x86_64` instead of `kill -9`? Use `vir

Re: [Qemu-discuss] [Qemu-devel] QEMU without X11 support

2017-10-14 Thread Philippe Mathieu-Daudé
>> Hello, is it possible to run (or rebuild modifying build flags) QEMU >> without support for X11 window system integration? > > ./configure --disable-gtk --disable-sdl --disable-opengl Is there some interest in adding a simpler --disable-x11 option?

Re: [RFC PATCH] configure: deprecate 32 bit build hosts

2019-09-26 Thread Philippe Mathieu-Daudé
On 9/26/19 1:30 AM, Alex Bennée wrote: > The 32 bit hosts are already a second class citizen especially with > support for running 64 bit guests under TCG. We are also limited by > testing as actual working 32 bit machines are getting quite rare in > developers personal menageries. For TCG supporti

Re: Is STM32f429 discovery board fully supported on qemu?

2020-02-06 Thread Philippe Mathieu-Daudé
Hi Liviu, On 2/6/20 3:34 PM, Liviu Ionescu wrote: On 6 Feb 2020, at 11:23, Mohannad Maklad wrote: I'm trying to emulate STM32F429I discovery board using qemu & eclipse IDE. I got the blinky example running with the led turning on and off on the graphics screen but I have tried an example to

Re: Help

2020-02-28 Thread Philippe Mathieu-Daudé
Hi Jorge, On 2/28/20 12:33 AM, Jorge Abisai wrote: Hi! How can i install qemu and running on a raspberry Pi B+? I want run Windows XP on my Raspberry. This depends of the distribution you installed. If you installed Raspbian, it is based on Debian, so you can install it using 'apt install qe

QEMU participation to Google Season of Docs

2020-04-01 Thread Philippe Mathieu-Daudé
Hi, Google recently announced their 'Season of Docs' project: https://developers.google.com/season-of-docs QEMU project seems to fit all the requirements. Who is interested in [co-]mentoring? Relevant links: https://developers.google.com/season-of-docs/docs/admin-guide https://developers.googl

Re: stm32f429 flash writing

2020-04-06 Thread Philippe Mathieu-Daudé
On 4/5/20 3:41 PM, Mohannad Maklad wrote: Hello all, I'm trying to write to stm32f429 discovery board on flash but it doesn't seem to work. Can I share the code with you? You can certainly share your code/use case! Note that the stm32f429 is not modeled in mainstream QEMU, only the stm32f40

Re: QEMU participation to Google Season of Docs

2020-04-06 Thread Philippe Mathieu-Daudé
On 4/2/20 11:06 AM, Stefan Hajnoczi wrote: On Wed, Apr 01, 2020 at 06:46:02PM +0200, Paolo Bonzini wrote: On 01/04/20 18:37, Philippe Mathieu-Daudé wrote: * Refactor the open source project's existing documentation to   provide an improved user experience or a more accessible   inform

Re: MemoryRegionOps callback sizes

2020-04-06 Thread Philippe Mathieu-Daudé
Hello, On 4/6/20 5:49 PM, hgedek wrote: Hello, Im new to qemu and trying to update a project that developed before me ! I have a question, thanks for help. Memory allocation is done using MMIO and its created 64 bits bars for it. And while accessing pages I wish to see 8 bytes at read / wri

QEMU 5.1: Can we require each new device/machine to provided a test?

2020-04-07 Thread Philippe Mathieu-Daudé
Hello, Following Markus thread on deprecating unmaintained (untested) code (machines) [1] and the effort done to gather the information shared in the replies [2], and the various acceptance tests added, is it feasible to require for the next release that each new device/machine is provided a test

Re: 5.0.0-rc3 : Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries

2020-04-17 Thread Philippe Mathieu-Daudé
Hi Dennis, On 4/17/20 2:42 AM, Dennis Clarke via wrote:> > Very strange messages from qemu 5.0.0-rc3 wherein I try to run : > > $ /usr/local/bin/qemu-system-ppc64 --version > QEMU emulator version 4.2.93 > Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers > $ > $ > $ /usr/loc

Re: 5.0.0-rc3 : Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries

2020-04-17 Thread Philippe Mathieu-Daudé
On 4/17/20 11:19 AM, Peter Maydell wrote: >> Thanks for the report. Did this work with older QEMU? This is very recent, from commit 0418bf78fe8 last month: Date: Thu Mar 19 16:44:39 2020 +1000 target/ppc: Fix ISA v3.0 (POWER9) slbia implementation The new ISA v3.0 slbia variants have

Re: 5.0.0-rc3 : Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries

2020-04-17 Thread Philippe Mathieu-Daudé
On 4/17/20 12:50 PM, Dennis Clarke via wrote: On 4/17/20 9:28 AM, Philippe Mathieu-Daudé wrote: On 4/17/20 11:19 AM, Peter Maydell wrote: Thanks for the report. Did this work with older QEMU? This is very recent, from commit 0418bf78fe8 last month: Date:   Thu Mar 19 16:44:39 2020 +1000

Re: qemu 4.2.0 audiodev soundhw

2020-04-22 Thread Philippe Mathieu-Daudé
On 4/22/20 4:04 PM, Gerd Hoffmann wrote: Hi, I think the original intention was to deprecate -soundhw altogether, and only use -device in new configs. However that was problematic with some special devices, like pcspk and maybe others that are created by the machine and not user creatable.

Re: qemu 4.2.0 audiodev soundhw

2020-04-22 Thread Philippe Mathieu-Daudé
Hi Jakob, On 4/21/20 12:06 AM, Jakob Bohm wrote: [...] In fact, over the years, I have found it excruciatingly difficult to find valid qemu documentation, as each feature effort tends to leave behind half-updated pages and a bunch of uncoordinated messages about what may or may not have been im

Re: QEMU + HVF Fails to start OVMF.fd (hang before displaying logo)

2020-05-11 Thread Philippe Mathieu-Daudé
Hi Olivier, Cc'ing the HVF maintainers. On 5/11/20 12:26 PM, LAHAYE Olivier wrote: Hi, I’m facing a similar problem to this one, but I’m unable to find any solution via google. https://www.mail-archive.com/qemu-discuss@nongnu.org/msg04372.html I’m trying to run an EFI BIOS using qemu. *

Re: Qemu, VNC and non-US keymaps

2020-05-11 Thread Philippe Mathieu-Daudé
Cc'ing more developers. On 5/11/20 4:17 PM, B3r3n wrote: Dear all, I am struggling for days/weeks with Qemu and its VNC accesses...with non-US keymaps. Let me summ the facts: - I am using a french keyboard over a Ubuntu 18.04. - I installed a simple Debian in a Qemu VM, configured with FR ke

Re: Sam460Ex screen mode, audio and network

2020-06-02 Thread Philippe Mathieu-Daudé
Cc'ing the sam460ex maintainer. On 6/1/20 8:01 PM, Andrea Palmatè wrote: > Hello, i've successfully configured AmigaOS4 on Qemu 5 and i've > installed it without any problem. > It is working on an i5 laptop. I've tried to use the native screen mode > 1366x768 but it has some problems. It seems a s

Re: QEMU latest release riscv32-softmmu not working

2020-08-14 Thread Philippe Mathieu-Daudé
Hi Arman, On 8/13/20 10:20 PM, arman avetisyan wrote: > Hi QEMU Team, having issue running riscv32-softmmu Cc'ing this to the QEMU RISCV mailing list. > > After running riscv32-softmmu supplying custom linux build it crashes > and complains about rom segments overlaping > > $ qemu-system-riscv

Re: HPPA support for IGNITE-UX install discs

2020-09-20 Thread Philippe Mathieu-Daudé
Cc'ing the HPPA team. On 9/20/20 9:42 PM, Keith Monahan via wrote: > HI there, > > In QEMU 5.1.50 (also tried 4.2.1) built from source, I have a particular > IGNITE-UX disk associated with an HP Logic Analyzer 16700A that I'm > trying to boot and install. It's based on HP-UX 10.20. The regular LA

Re: Minix 1.1 with QEMU

2020-09-23 Thread Philippe Mathieu-Daudé
Hi Will, On 9/23/20 6:45 PM, Will Senn wrote: > Long time user, first time poster :) > > So, I'd like to be able to run Minix 1.1 on my Macbook Pro mid-2012 > w/16gb RAM (MacOS 10.14.6 Mojave). Qemu will run pretty ancient OS'es > such as DOS 2.0, which I use all of the time. However, I'm having

Re: Emulate pc speaker in QEMU on MacBook Pro?

2020-10-06 Thread Philippe Mathieu-Daudé
Cc'ing other developers. On 10/7/20 4:32 AM, Will Senn wrote: > I see this, in the manual: > > The PC speaker audio device can be configured using the pcspk-audiodev > machine property, i.e. > > qemu_system-x86_64 some.img -audiodev > ,id= -machine >

Re: Which qemu change corresponds to RedHat bug 1655408

2020-10-08 Thread Philippe Mathieu-Daudé
Hi Jakob, On 10/8/20 6:32 PM, Jakob Bohm wrote: > Red Hat bugzilla bug 1655408 against qemu is listed by Red Hat as fixed in > April 2019, but I cannot find the corresponding change on qemu.org (the > Changelog in the wiki is not a traditional changelog and doesn't cover > bugfix releases such as

Re: Which qemu change corresponds to RedHat bug 1655408

2020-10-08 Thread Philippe Mathieu-Daudé
bug > listed as fixed in RHSA-2019:2553-01 ? > > > On 2020-10-08 18:41, Philippe Mathieu-Daudé wrote: >> Hi Jakob, >> >> On 10/8/20 6:32 PM, Jakob Bohm wrote: >>> Red Hat bugzilla bug 1655408 against qemu is listed by Red Hat as >>> fixed in >>&g

QEMU continuous integration BoF session at KVM Forum 2020

2020-10-30 Thread Philippe Mathieu-Daudé
There will be a birds-of-a-feather session at KVM Forum, a chance for us to get together and discuss about QEMU continuous integration. These sessions are a good opportunity to reach agreement on topics that are hard to discuss via mailing lists. Please add your suggestions to the agenda: https:/

Re: Property '.hmat' not found

2020-11-16 Thread Philippe Mathieu-Daudé
Cc'ing Igor & Eduardo. On 11/13/20 10:17 AM, Jack wrote: > Hi all, > > As I follow the document[1] to enable hmat, it fails and shows the message: >   qemu-system-x86_64: Property '.hmat' not found > > My QEMU version is 5.1.90 > > Does anyone know why? > > Here is my command: > > ``` > $ sud

Re: qemu + expect + Raspberry Pi = sudden stop of accepting commands

2021-01-22 Thread Philippe Mathieu-Daudé
Hi Dilyan, On 1/22/21 2:01 PM, Dilyan Palauzov wrote: > Hello, > ... > root@raspberrypi:/home/pi# echo Q1 > Q1 > root@raspberrypi:/home/pi# apt-get clean > root@raspberrypi:/home/pi# > real    23m20.381s > user    0m29.330s > sys 0m3.832s > --- > > Thus the last commands from th

Re: how does qemu generate the path from 60-edk2-x86_64.json?

2021-02-01 Thread Philippe Mathieu-Daudé
Hi Dagg, On 1/30/21 12:16 PM, daggs wrote: > Greetings, > > I was wondering how qemu generates the path for edk2-x86_64-code.fd from from > 60-edk2-x86_64.json > the file contains this: "filename": "share/qemu/edk2-x86_64-code.fd", > however the real path is /usr/share/qemu/edk2-x86_64-code.fd.

Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64

2021-02-02 Thread Philippe Mathieu-Daudé
Cc'ing Mark & Artyom. On 2/2/21 5:35 PM, Gong, Zaiwen wrote: > Hi, > > > I have successfully installed a Solaris 9/32bit Sparc VM > using qemu-system-sparc.  > > > Now I am trying to install a Solaris 10/64bit Sparc VM > using qemu-system-sparc64.  > > > I tried with QEMU emulator version 4.

Re: cdrom scsi passthough not working well

2021-02-03 Thread Philippe Mathieu-Daudé
Cc'ing qemu-block@ developers. On 10/28/20 6:18 AM, daggs wrote: > Greetings, > > I have a vm running under qemu 5.1.0 with a cdrom scsi passthough into it. > I can eject the device in and out but when I insert a disc, is isn't detected > and the dmesg on the guest is filled with these prints: >

Re: supported machines for aarch64

2021-02-14 Thread Philippe Mathieu-Daudé
Hi, On 2/15/21 6:26 AM, c...@etri.re.kr wrote: > Hello, > > I tried “qemu-system-arm –machine help” and it gave me 75 machines. > > Then I tried “qemu-system-aarch64 –machine help”, and it gave me almost > the same result except it had raspi3, sbsa-ref, xlnx-versal-virt and > xlnx-zcu102 in addi

Re: problema compilation

2021-02-19 Thread Philippe Mathieu-Daudé
Cc'ing Stefan / Yonggang / Paolo. On 2/20/21 12:03 AM, Peter Maydell wrote: > On Fri, 19 Feb 2021 at 22:54, nerus wrote: >> >> Good evening, I turn to you because I have a problem that does not appear in >> the official documentation, nor in the different blogs or irc channels. >> >> I need to d

Re: romfile resize

2021-02-23 Thread Philippe Mathieu-Daudé
Cc'ing qemu-devel@ On 2/23/21 1:45 AM, Jiatong Shen wrote: > Hello, > >   we are faced with an issue where a changed sized romfile > (efi-virtio.rom) fails live migration. Do qemu load this rom from its > current host only? If yes, why cannot sync this from source vm? > > thank you. > > -- >

Re: QEMU Clock record and replay

2021-02-25 Thread Philippe Mathieu-Daudé
Cc'ing Pavel/Alex. On 2/25/21 4:09 PM, Arnabjyoti Kalita wrote: > Hello all, > > I am trying to understand how the clock values are recorded and replayed > in QEMU (when it runs in TCG mode). I have been specifically following > the document that has been provided here - > https://github.com/qemu

Re: ninja install on ubuntu 16.04 for qemu-5.2.0 build

2021-03-02 Thread Philippe Mathieu-Daudé
On 3/2/21 10:15 AM, c...@etri.re.kr wrote: > Hello, > > qemu-5.2.0 now internally uses mesa for building qemu. > > Isn’t there any guideline for this new build method on qemu document > page?( I couldn’t find one). > > I was met with this ‘couldn’t find Ninja 1.7 or newer’ and tried > installing

Re: ALSA errors?

2021-03-15 Thread Philippe Mathieu-Daudé
Cc'ing audio team On 3/15/21 11:57 AM, Izak van Langevelde wrote: > It's been a while since I used qemu, but when I try to run my virtual > machine I get the following errors: > > ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave > alsa: Could not initialize ADC > alsa: Failed

Re: MIPS32 release 2 Instructions

2021-03-17 Thread Philippe Mathieu-Daudé
On 3/17/21 12:20 PM, prashant chaturvedi wrote: > Hello all, > I'm trying execute a mips32r2 , little endian binary on qemu and the > instructions like enable interrupt(EI) and Pair upper Lower(PUL.PS > ) are not supported by qemu as it gives "Illegal > Instruction" error. PUL.PS is

Re: why doesn't arm virt machine boot linux when uart address size is increased?

2021-04-13 Thread Philippe Mathieu-Daudé
On 4/13/21 2:40 PM, c...@etri.re.kr wrote: > Hi Peter Maydell, > Thanks again. It's still not clear why increasing the UART address size to > 0x2000 makes it stall, You might look for memory region overlap in the monitor using 'info mtree' and 'info mtree -f' for the flatview (where overlap can'

Re: Cortex-R5 support for Qemu

2021-04-24 Thread Philippe Mathieu-Daudé
Hi Mahmoud, On 4/24/21 2:37 PM, Mahmoud Shirazi wrote: > ​Dear Sir/Madam, > > I have a question about ARM cortex-R5 and Qemu. Does Qemu support > Cortex-R5 processor? If yes, please let me know the machine name on Qemu. Yes, QEMU supports the Cortex-R5 and Cortex-R5F. The machine using them is

Re: Switching to the GitLab bug tracker

2021-05-04 Thread Philippe Mathieu-Daudé
On 5/4/21 10:43 AM, Stefan Hajnoczi wrote: > On Mon, May 03, 2021 at 01:16:51PM +0200, Thomas Huth wrote: >> As you might have already noticed by some other mails on the qemu-devel >> mailing list, we are in progress of switching our bug tracking tool from >> Launchpad to Gitlab. The new tracker ca

Re: boot kylinos kernel in loongson3-virt machine get "data bus error"

2021-05-13 Thread Philippe Mathieu-Daudé
Hi, Cc'ing the maintainers. On 5/13/21 11:41 AM, ZHAOWANCHENG wrote: > hello, everyone. > > I tried to use loongson3-virt machine and install kylinos, but failed, > can anyone help me to find reason? Please open a issue: https://gitlab.com/qemu-project/qemu/-/issues > > qemu version: qemu-6.0

Re: microvm and Virtio-fs (vhost-user-fs-pci)

2021-05-31 Thread Philippe Mathieu-Daudé
Hi Paul, On 5/31/21 8:04 PM, Paul Menzel wrote: > Dear QEMU folks, > > > For minimal boot time I would like to use the machine type *microvm* > [1]. For an application, we would like to use Virtio-fs [2]. Currently > it fails with: > >     $ sudo qemu-system-x86_64 -enable-kvm -M microvm -cpu h

Re: Switching to the GitLab bug tracker

2021-06-04 Thread Philippe Mathieu-Daudé
Hi Michael, On 5/5/21 11:58 AM, Daniel P. Berrangé wrote: > On Wed, May 05, 2021 at 11:55:30AM +0200, Stefano Garzarella wrote: >> On Tue, May 04, 2021 at 12:20:03PM +0200, Philippe Mathieu-Daudé wrote: >>> On 5/4/21 10:43 AM, Stefan Hajnoczi wrote: >>>> On Mon, Ma

Re: MIPS MSA instructions result in SIGILL

2021-06-17 Thread Philippe Mathieu-Daudé
Hi Evan, On 6/11/21 5:48 PM, Evan Nemerson wrote: > I'm trying to find a way to run MSA code using QEMU.  I've been able to > get *some* MSA instructions to execute on Loongson-3A4000, but > eventually I get a SIGILL. > > I have access to the source code, and I don't really care what CPU I'm > ta

Re: Difficulties to access guest memory in TCG plugins

2021-06-24 Thread Philippe Mathieu-Daudé
Cc'ing the maintainer: Alex. On 6/23/21 5:08 PM, Kevin Mambu wrote: > Hi, everyone, > I need to put in place a plugin which is able to modify memory for a > specific project, and until now I managed to do so using > cpu_memory_rw_debug(). > However, the function happens to fail at times, and when

Re: Initialize RAM from a file and save it to the file

2021-07-19 Thread Philippe Mathieu-Daudé
Hi Hiroko, On 7/19/21 11:34 AM, Hiroko Shimizu wrote: > Hello,  > I'd like to initialize RAM from a specific file when RAM is created. > Then,  I tried using memory_region_init_ram_from_file(). To load a file after the machine is created and before the VM is started I use the 'generic loader dev

Re: Initialize RAM from a file and save it to the file

2021-07-19 Thread Philippe Mathieu-Daudé
On 7/19/21 12:04 PM, Peter Maydell wrote: > On Mon, 19 Jul 2021 at 10:35, Hiroko Shimizu wrote: >> >> Hello, >> I'd like to initialize RAM from a specific file when RAM is created. >> Then, I tried using memory_region_init_ram_from_file(). > > If you want to put something specific into RAM on st

Re: need help with my config

2021-07-30 Thread Philippe Mathieu-Daudé
Cc'ing qemu-ppc@ On 7/30/21 6:25 AM, Lindsay Ryan wrote: > Hi > I'm trying to emulate some physical IBM Power 9's that we have. There > seems to be plenty of examples of using x86_64 qemu, but slightly less > for Power. Unless it's specifically for installing AIX > Anyway, I'm trying to boot the V

Re: cross-building with qemu-i386/aarch64

2021-08-11 Thread Philippe Mathieu-Daudé
On 8/11/21 1:15 PM, Frans de Boer wrote: > LS, > > I have a puzzle for which I seek some assistance for the following case: > > I have build a cross-compiler for - say - the i586 architecture, > including glibc and some others. The next step would be to transfer this > together with other sources

Re: cross-building with qemu-i386/aarch64 - SOLVED

2021-08-12 Thread Philippe Mathieu-Daudé
On 8/11/21 8:41 PM, Frans de Boer wrote: > On 8/11/21 6:26 PM, Philippe Mathieu-Daudé wrote: >> On 8/11/21 1:15 PM, Frans de Boer wrote: >>> I have build a cross-compiler for - say - the i586 architecture, >>> including glibc and some others. The next step would be to

Re: how to build debian package on arm64 machine

2021-08-24 Thread Philippe Mathieu-Daudé
Hello, On 8/24/21 2:25 AM, Jiatong Shen wrote: > Hello, > >   for whatever reason I am trying to build qemu debian package > manuallyon arm64 machine. what I do is first "apt source qemu" to > download source and then "dpkg-buildcpakge" to build debs. This works on > amd64 machine but fails on ar

Re: high cpu usage in idle state

2021-09-15 Thread Philippe Mathieu-Daudé
On 9/15/21 9:46 AM, Ali Vatankhah wrote: > Dear qemu developers > I built an image for e5500 cpu with yocto and run with qemu ppce500 machine: > qemu-system-ppc64 -nographic -M ppce500 -cpu e5500 -kernel uImage > -initrd core-image-minimal.rootfs.ext2.gz -append 'root=/dev/ram rw'  > It works well,

Re: Range of vcpu_index to plugin callbacks

2021-09-19 Thread Philippe Mathieu-Daudé
(Cc'ing qemu-devel@ mailing list since this is a development question). On 9/19/21 19:44, Robert Henry wrote: > What is the range of the values for vcpu_index given to callbacks, such as: > > typedef void (*qemu_plugin_vcpu_udata_cb_t)(unsigned int vcpu_index, > void *userdata); > > Empirically,

Re: high cpu usage in idle state

2021-09-19 Thread Philippe Mathieu-Daudé
On 9/19/21 20:06, Peter Maydell wrote: > On Sat, 18 Sept 2021 at 09:12, Ali Vatankhah wrote: >> then to check what instructions are executing I run this command: >> >> qemu-system-ppc64 -nographic -M ppce500 -cpu e5500 -kernel uImage >> -singlestep -d in_asm -D target_asm.log >> >> Obviously this

Re: a quetion about sysbus_realize_and_unref function

2021-10-18 Thread Philippe Mathieu-Daudé
Hi, On 10/18/21 14:01, Chan Kim wrote: > Hi, list members, > > I see for example in hw/arm/virt.c, when it creates a device to attach > to a system bus, it calls “sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), > &error_fatal);” function > > . > > static void create_its(VirtMachineState *vms) >

Re: Ast2600 emulation

2021-12-15 Thread Philippe Mathieu-Daudé
On 12/15/21 22:24, abhijeet inamdar wrote: > Hi, > > I was going through the aspeed ast2600(not evb) it has Dual-core Arm A7 > and embedded M3. How can extend it/implementation in the existing one. > 1) Is it possible ? Yes. > 2) How can I do it? Look at the Xilinx ZynqMP ZCU102 board (4xA53s a

Re: Ast2600 emulation

2021-12-15 Thread Philippe Mathieu-Daudé
15 Dec, 2021, 22:38 Philippe Mathieu-Daudé, <mailto:f4...@amsat.org>> wrote: > > On 12/15/21 22:24, abhijeet inamdar wrote: > > Hi, > > > > I was going through the aspeed ast2600(not evb) it has Dual-core > Arm A7 > > and embedded

Re: Exception return

2021-12-16 Thread Philippe Mathieu-Daudé
Cc'ing qemu-arm developers. On 12/16/21 18:31, abhijeet inamdar wrote: > Hi, > > I was running my .elf file on my custom machine(CM3) and was hit with > this error when debugging and had the required -d flags and single stepping. > > IN: Hal_MemFault > 0x7004e794:  4770       bx       lr > > Tr

Re: QOM

2021-12-21 Thread Philippe Mathieu-Daudé
Hi Abhijeet, On 12/21/21 12:27, abhijeet inamdar wrote: > Hi, > > 1)What does QOM stand for? QOM: "QEMU Object Model" See https://qemu-project.gitlab.io/qemu/devel/qom.html > 2)Can anyone tell what this error means?  > > (qemu) Unexpected error in object_property_find() at > /home/ocp/vcpu-pl

Re: REG: TTC Timer

2022-12-05 Thread Philippe Mathieu-Daudé
On 22/11/22 12:27, Gowri Shankar wrote: Hi Team, Advance Thanks for Your support. Could you please clarify one point here? I am using a Xilinx ZCU102 machine with QEMU7.1.0. I have seen QEMU 7.1.0 release has TTC timers for the Xilinx-zynqmp SoC model. url: https://wiki.qemu.org/ChangeLog/7.1

Re: Porting the QEMU build architecture to Visual Studio

2023-02-07 Thread Philippe Mathieu-Daudé
Hi Andrew, On 8/2/23 05:56, Andrew Numrich wrote: Hello, I’m looking to experiment with QEMU in a Windows specific environment. For that I’ll need to build QEMU’s source code in Visual Studio 2017. I’m seeing that QEMU’s sources calls for a `config-host.h` file generated by a `create_config`

Re: Emulating graviton G3

2023-03-03 Thread Philippe Mathieu-Daudé
Cc'ing qemu-arm@ list On 3/3/23 08:20, Robert Henry wrote: I cannot figure out how to make QEMU TCG emulate aarch64 Graviton G3. I'm working against master/head of the QEMU source. I come up with feature names by consulting https://marcin.juszkiewicz.com.pl/download/tables/arm-socs.html

Re: raspi3b - dumpdtb

2023-03-15 Thread Philippe Mathieu-Daudé
Hi Little, On 15/3/23 13:43, Little Tree wrote: I am using QEMU 6.2.0 to emulate raspi3b (Raspberry Pi 3b). I have used the following command to dump the DTB. It is neither terminating nor dumping the DTB. $ qemu-system-aarch64 -machine raspi3b,dumpdtb=test.dtb VNC server running on 127.0.0.1

Re: dropping 32-bit host support

2023-03-16 Thread Philippe Mathieu-Daudé
Hi Andrew, On 16/3/23 01:57, Andrew Randrianasulu wrote: Looking at https://wiki.qemu.org/ChangeLog/8.0 === System emulation on 32-bit x86 and ARM hosts has been deprecated. The QEMU project no longer considers 32-bit x86 and ARM support for system emula

Re: dropping 32-bit host support

2023-03-16 Thread Philippe Mathieu-Daudé
Hi Liviu, On 16/3/23 07:19, Liviu Ionescu wrote: On 16 Mar 2023, at 02:57, Andrew Randrianasulu wrote: Looking at https://wiki.qemu.org/ChangeLog/8.0 === System emulation on 32-bit x86 and ARM hosts has been deprecated. The QEMU project no longer considers 32-bit x86 and ARM support for s

Re: dropping 32-bit host support

2023-03-16 Thread Philippe Mathieu-Daudé
On 16/3/23 08:17, Andrew Randrianasulu wrote: чт, 16 мар. 2023 г., 10:05 Philippe Mathieu-Daudé <mailto:phi...@linaro.org>>: Hi Andrew, On 16/3/23 01:57, Andrew Randrianasulu wrote: > Looking at https://wiki.qemu.org/ChangeLog/8.0 <https://wiki.qemu.or

Re: dropping 32-bit host support

2023-03-16 Thread Philippe Mathieu-Daudé
On 16/3/23 11:22, Andrew Randrianasulu wrote: чт, 16 мар. 2023 г., 12:17 Andrew Randrianasulu <mailto:randrianas...@gmail.com>>: чт, 16 мар. 2023 г., 11:31 Thomas Huth mailto:th...@redhat.com>>: On 16/03/2023 08.36, Philippe Mathieu-Daudé wrote: > On 16/

Re: qemu-img convert gets 403 from s3 presigned urls

2023-07-13 Thread Philippe Mathieu-Daudé
Cc'ing the qemu-block@ list. On 13/7/23 04:03, Ross Vandegrift wrote: Hi folks, I'm trying to qemu-img convert a source that's hoted on s3, via a presigned url. When qemu-img hits it, s3 returns a 403. But curl works fine with the same url. I didn't see any debugging or verbose output option

Re: sparc64 -- cannot get 'Hello World' to run

2023-08-02 Thread Philippe Mathieu-Daudé
Hi Frederick, On 2/8/23 22:36, Frederick Virchanza Gotham wrote: On Wed, Aug 2, 2023 at 11:04 AM Frederick Virchanza Gotham wrote: I can't get sparc64 to work at all though. Even I make a simple 'Hello World' program in C using only "puts", if I try to use qemu-user to run it, it crashes. Y

Re: qemu-system-x86 dependencies

2023-08-16 Thread Philippe Mathieu-Daudé
Cc'ing Michael On 16/8/23 13:52, Fourhundred Thecat wrote: Hello, I am trying to install qemu-system-x86 on Debian 12. But through the dependency cascade, it wants to install sound infrastructure with gstreamer libraries. Which leads to absurd dependencies, such as:   libasound2   libgstrea

Re: Usage of vfio-pci without KVM.

2023-09-12 Thread Philippe Mathieu-Daudé
Cc'ing VFIO maintainers. On 12/9/23 14:39, Shlomo Pongratz wrote: Hi, I'm running qemu-system-aarch64 (QEMU emulator version 7.0.93) on Ubuntu 20.04.4 LTS i with Intel's i7. I'm trying to pass a Samsung NVME device using vfio-pci. I detached the device from the nvme driver and attached it to the

Re: [PATCH] hw/i386/pc_piix: Mark the machine types from version 1.4 to 1.7 as deprecated

2023-09-12 Thread Philippe Mathieu-Daudé
On 18/1/22 09:49, Thomas Huth wrote: On 17/01/2022 21.12, Daniel P. Berrangé wrote: On Mon, Jan 17, 2022 at 08:16:39PM +0100, Thomas Huth wrote: The list of machine types grows larger and larger each release ... and it is unlikely that many people still use the very old ones for live migration.

Re: [RFC PATCH v2 1/9] Add Rust SEV library as subproject

2023-10-16 Thread Philippe Mathieu-Daudé
On 16/10/23 11:16, Daniel P. Berrangé wrote: On Fri, Oct 13, 2023 at 02:20:16PM -0400, Tyler Fanelli wrote: Hi Manos, Thanks for the heads up, I was using rust 1.71.1. Will update the series with 1.72.1 Stefan, Philippe, or Daniel: is there a specific policy for the Rust version we should be d

Re: 来自Leo Hou的邮件

2023-10-31 Thread Philippe Mathieu-Daudé
Hi Leo, On 31/10/23 04:10, Leo Hou wrote: hi , all   Does qemu plan to support CPU heterogeneity? Short answer is yes. When will this be available is yet to be determined, as a lot of work is required. I'm going to talk about the challenges and possible roadmap later today, feel free to

Re: riscv virt target write pflash

2024-02-19 Thread Philippe Mathieu-Daudé
Cc'ing qemu-riscv mailing list which is more focused. On 18/2/24 22:32, max wrote: I am relatively new to QEMU so I hope that this is the right place to ask: I tried starting QEMU with the following command: ``` qemu-system-riscv64 -M virt -drive if=pflash,format=raw,unit=0,file=bios.rom -m 51

Re: Accelerator in ARM-based macOS

2024-02-26 Thread Philippe Mathieu-Daudé
Hi Serdar, On 26/2/24 11:33, Serdar Bahar wrote: Hello, I'm a newbie in QEMU and I'm using it on an Apple Silicon macOS (ARM-based). I use the default accelerator tcg to run a virtual machine with Ubuntu but it is quite slow. I tried commands like "-enable-kvm" or "-accel xyz"  but every one

Re: Emulating multi core processor (ARM cortex M7) on QEMU

2024-02-26 Thread Philippe Mathieu-Daudé
Hello, On 26/2/24 11:58, ankita suman wrote: Hello, I am trying to emulate multi core processor (dual core for now) on QEMU. The processor I am targeting is cortex m7. I tried by running multiple instances of QEMU to emulate multi cores, and use shared memory for communication, but since I a

Re: Fast booting q35 VM?

2024-04-02 Thread Philippe Mathieu-Daudé
Cc'ing qemu-devel@ On 30/3/24 10:00, Paul Menzel wrote: Dear Linux folks, Starting a QEMU q35 with Linux built with `make defconfig`     qemu7-system-x86_64 -M q35 -m 32G -enable-kvm -cpu host -smp cpus=32 -device virtio-rng-pci -net nic,model=virtio-net-pci -net user,hostfwd=tcp::22230-:2

Re: Qemu for TC377

2024-04-14 Thread Philippe Mathieu-Daudé
Hi Sameer, On 13/4/24 14:52, Sameer Kalliadan Poyil wrote: Hello All, I see that Latest qemu supports for tricore TC277 and TC377 image.png But when I downloaded source code and checked for TC377 related file , I didn't find anything I want to run RTOS/bare metal code on TC377 . could you ple

Re: shared memory mechanism other than ivshmem

2024-05-14 Thread Philippe Mathieu-Daudé
On 14/5/24 12:23, Sanjeev Kumar wrote: and forgot to mention. why our VM doesn't support ivshmem because it doesn't have PCI supported. Is there any other shared memory mechanism QEMU which doesn't use the PCI interface? On Tue, May 14, 2024 at 11:28 AM Sanjeev Kumar

Re: QEMU plugin past, present and future examples

2024-06-12 Thread Philippe Mathieu-Daudé
Hi Robert, On 11/6/24 18:53, Robert Henry wrote: QEMU plugin experts: A few years I wrote a plugin for QEMU that saves the instruction stream to a file for offline analysis.  QEMU could fly along at about 10MIPS and the disk would soon fill up with large protobuf files.  The offline analysis

Re: Using QEMU to performance test Linux kernel

2024-08-15 Thread Philippe Mathieu-Daudé
Hi Paul, On 15/8/24 23:23, Paul Menzel wrote: Dear QEMU folks, I would like to boot a Linux kernel image several times, and log the output – case in point [1] it would be booting with `initcall_debug`, and look at how long `acpi_init()` took to execute. I came up with     qemu-system-x86

Re: Kernel panic - not syncing: Unable to initialise architected timer : unable to boot Android 14 with qemu-system-aarch64 on Ubuntu 24.04 X64 bit

2024-08-24 Thread Philippe Mathieu-Daudé
Hi Mario, Cc'ing Sergey & qemu-arm@ list. On 24/8/24 18:11, Mario Marietto wrote: Hello. I want to emulate Android 14 by KonstaKang using qemu-system-aarch64 and as model virt on Ubuntu 24.04 x64 bit installed on my PC (Intel I9 + RTX 2080 ti). You already opened an issue for this: https:/

Re: Error : init: partition(s) not found in /sys, waiting for their uevent(s): mmcblk0p2, mmcblk0p3 while trying to emulate Android 14 on Ubuntu 24.04 X64 bit using qemu-system-aarch64.

2024-09-03 Thread Philippe Mathieu-Daudé
On 3/9/24 19:17, Mario Marietto wrote: @Pierrick Bouvier : ---> I'm really glad to see it worked! Are you already running the raspberry image, or vanilla AOSP ? No and I don't think I will. I have a project that I'm working on that aims to emulate Android for Arm on Linux x64 bit. I knew tha

Re: Error : init: partition(s) not found in /sys, waiting for their uevent(s): mmcblk0p2, mmcblk0p3 while trying to emulate Android 14 on Ubuntu 24.04 X64 bit using qemu-system-aarch64.

2024-09-04 Thread Philippe Mathieu-Daudé
On 3/9/24 22:52, Mario Marietto wrote: Unfortunately the usage of qemu patched to boot Android 10 on the Jetson nano didn't change anything. I get the same exact errors as before. :( What do you mean by "qemu patched"?

Re: Error : init: partition(s) not found in /sys, waiting for their uevent(s): mmcblk0p2, mmcblk0p3 while trying to emulate Android 14 on Ubuntu 24.04 X64 bit using qemu-system-aarch64.

2024-09-04 Thread Philippe Mathieu-Daudé
sp> What do you mean with "Hopefully you are right,but unlikely" ? There are only 3 small patches, barely changing UI size and buttons. On Wed, Sep 4, 2024 at 11:54 AM Philippe Mathieu-Daudé mailto:phi...@linaro.org>> wrote: On 3/9/24 22:52, Mario Marietto wrote:

Re: avr5 not found in qemu-avr 9.1.1 on macOS

2024-11-18 Thread Philippe Mathieu-Daudé
Hi Iris, Thanks for this bug report. On 17/11/24 02:51, Iris Artin wrote: $ brew install qemu Warning: qemu 9.1.1 is already installed and up-to-date. $ qemu-system-avr -version QEMU emulator version 9.1.1 Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers $ qemu-system-avr

Re: Question regarding "Microblaze-V generic board, amd-microblaze-v-generic"

2025-03-17 Thread Philippe Mathieu-Daudé
Hi Prashant, Cc'ing qemu-riscv list. On 15/3/25 01:03, Prashant Joshi wrote: Hi, I have question regarding Riscv architecture machine "Microblaze-V generic board". As per the documentation this machine boots only till u- boot prompt and does not load kernel image. I tried to give the Image

Re: bdrv_is_allocated

2022-02-13 Thread Philippe Mathieu-Daudé via
On 13/2/22 15:24, 沈梦姣 wrote: Hi, I’m trying to understand this function, but seems no note in the header file, could anyone help explain this function? It will be great if there is an example. Thanks in advance! thanks Cc'ing qemu-block@ list.

Re: If your networking is failing after updating to the latest git version of QEMU...

2022-09-28 Thread Philippe Mathieu-Daudé via
On 28/9/22 10:27, Thomas Huth wrote: ... it might have happened due to the removal of the "slirp" submodule from the git repository. For example if you see an error message like this:  Parameter 'type' expects a netdev backend type this likely means that the "user" mode backend type is not