Running JIT generated code inside user emulation

2024-07-25 Thread L. E. Segovia
Hi folks, I'm writing to ask if it's possible to run dynamically generated code from within qemu-user-static. We have some tests at work that use JIT (in particular against armv7a, aarch64 and ppc64le) and all which rely on jumps to a JIT'd page cause a segfault. At present these are running usin

Problem with MSI interrupts with hw/misc/edu.c device

2024-02-15 Thread Jari L. Makinen (Nokia)
Hi, I am trying to get msi/msi-x interrupt to work in QEMU for further device development. I am testing with the hw/misc/edu.c device (have used lots of others too but this is the simples to use as an example). The QEMU I am currently using is QEMU 8.2.0. The edu.c file that I use is original,

Hot replace of blockdev backend of paused VM?

2023-02-12 Thread L User
I'm running a VM by libvirt, and uses qemu/kvm as virtualizor. It has a block device backed by a real device (/dev/sda). Unfortunately the physical drive is not so solid so it just breaks the communication with host, resulting the removal of /dev/sda and a new host device /dev/sdb. The VM then j

Re: [Qemu-discuss] Virtual Machine Starts Without Internet Connection

2018-12-22 Thread l
Sent: Saturday, December 22, 2018 3:23 AM To: qemu-discuss@nongnu.org; l; qemu-discuss@nongnu.org Subject: Re: [Qemu-discuss] Virtual Machine Starts Without Internet Connection Hi, This works for me: "-netdev user,id=mynet,hostfwd=tcp::-:22,hostfwd=tcp::-:80" That will also&q

[Qemu-discuss] Virtual Machine Starts Without Internet Connection

2018-12-21 Thread l
I tried both of these to start my virtual machine and it start correctly without any internet connection. qemu-system-x86_64 -m 256 -hda debian_testing_64.qcow -net nic,model=ne2k_pci -net user,hostfwd=tcp::9022-:22 -enable-kvm qemu-system-x86_64 -m 1024 -boot d -enable-kvm -net nic -net user -

Re: [Qemu-discuss] Fwd: Why iocl with RNDGETENTCNT does not work?

2017-10-05 Thread Marco A L Barbosa
t bugs and provide us with patches. > > If you've written a patch which adds support for this new > ioctl then you could send it to us via the qemu-devel mailing > list. If you're not sure how to do that then > https://wiki.qemu.org/Contribute/SubmitAPatch > has some information on sending us patches. > > thanks > -- PMM > -- Marco A L Barbosa http://malbarbo.pro.br --

[Qemu-discuss] Qemu, u-boot full sdcard boot simulation

2017-01-12 Thread Mark L .
Hi, I want to simulate the full boot for vexpress-a9 from a sd card (which is actually just an .img on my system) for a baremetal application. I created the SD card img: dd if=/dev/zero bs=512 count=15 of=toto.img and put my binaries (u-boot, application) inside with dd at the requir

Re: [Qemu-discuss] QEMU, Windows 3.11, Audio Not Working

2016-07-14 Thread l
gt; > I tested sb16 {msdos622+win311} successfully using Qemu > 2.0.0+dfsg-2ubuntu1.24 on Ubuntu 14.04 (amd64) > > Note: soundhw ONLY sb16 > > > El 13/07/16 a les 18:27, l ha escrit: > > I tried to get SoundBlaster for Windows 3.11 Workgroup to work with QEMU. > &

[Qemu-discuss] QEMU, Windows 3.11, Audio Not Working

2016-07-13 Thread l
16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux This is the string I use to start QEMU. # qemu-system-i386 -hda Windows_3_11_Workgroups.qcow2 -m 64 -L . -soundhw sb16,adlib,pcspk -net nic,model=rtl8139 -vga cirrus -boot c Thanks

[Qemu-discuss] Which Hardware and Driver For Audio Windows 3.11

2016-07-12 Thread l
I am trying to setup Windows 3.11 and I can not get the audio to work for SoundBlaster 16. I tried every drive and they all cause a loop error when I start Windows. I tried es1370 ENSONIQ AudioPCI ES1370 and this failed also. I would like to know what -soundhw parameter to use and wher

Re: [Qemu-discuss] Confusing use of VNC port

2014-07-25 Thread Todd L Miller
For that matter, where did the "4105" come from? VNC's command-line defines two ways to specify which display you care about: : and ::. It probably adopted this convention from X. Likewise, the port number is the base VNC address (5900, IIRC) plus the display number. - Todd

[Qemu-discuss] virtfs hangs after save/restore

2014-02-20 Thread Todd L Miller
or guest, am I mis-configuring something, or is this not supposed to work? All I could find online about this was Malte Starostik's mail to the qemu developer's list in May 2013, but that didn't seem to get a response, and my symptoms aren't quite the same. Thank you. - Todd L Miller