[Qemu-discuss] Help wanted: QEMU Advent Calendar 2016

2016-09-17 Thread Thomas Huth
Hi all! This year, we are celebrating the 10th anniversary of KVM [1] (and the 25th anniversary of Linux), so to contribute to this celebration, we would like to reanimate the QEMU Advent Calendar. If you didn't see the previous QEMU Advent Calendar 2014 yet, have a look at http://www.qemu-a

Re: [Qemu-discuss] qemu-2.7.0.tar.bz2 signing key

2016-10-05 Thread Thomas Huth
On 03.10.2016 10:33, Red wrote: > There is a signature file for "qemu-2.7.0.tar.bz2" on the downloads > page, but no pubkey to verify with. Do you know something I don't? AFAIK the packages are signed by Michael Roth who is doing the releases. You can find his key on the usual key servers, e.g.:

Re: [Qemu-discuss] external usb flash drive support on qemu virtualization

2016-10-21 Thread Thomas Huth
On 21.10.2016 09:43, Kumar Girish wrote: > Thank you for the info. > May I know how to goto qemu console > Right now I am at host. It is the linux host and have only CLI interface https://qemu.weilnetz.de/qemu-doc.html#mux_005fkeys Press Ctrl-a c in the terminal window where you started QEMU to s

Re: [Qemu-discuss] [Qemu-devel] Help wanted: QEMU Advent Calendar 2016

2016-11-15 Thread Thomas Huth
, so if anybody wants to contribute, please get in touch! ... see my original mail below for more information. Thomas On 17.09.2016 15:05, Thomas Huth wrote: > > Hi all! > > This year, we are celebrating the 10th anniversary of KVM [1] (and the > 25th anniversary of Linux), s

Re: [Qemu-discuss] Custom board with DTS/DTB

2016-11-18 Thread Thomas Huth
On 17.11.2016 23:14, James Hanley wrote: > I saw the presentation on “Custom Hardware Modeling for FPGAs and > Embedded Linux Platforms with QEMU” via > http://free-electrons.com/pub/video/2010/elc/elc2010-williams-iglesias-fpga-qemu.ogv > and was trying to apply the concepts described against our

[Qemu-discuss] QEMU Advent Calendar 2016

2016-12-01 Thread Thomas Huth
r each day). And yes, we still need more disk images to complete the run this year - if you are interested in contributing, please have a look at my original mail below. Enjoy, Thomas On 17.09.2016 15:05, Thomas Huth wrote: > > Hi all! > > This year, we are celebrating the 10th

Re: [Qemu-discuss] Custom board with DTS/DTB

2016-12-08 Thread Thomas Huth
On 07.12.2016 21:31, James Hanley wrote: > Seems like I spoke too soon. Removed the DTB option and started down the > road of building up our board as a test and connect gdb to the target > with the --gdb option. > jim@jim-VirtualBox:~/project/test$ gdb > qemu-build/arm-softmmu/qemu-system-arm > /t

Re: [Qemu-discuss] monitor documentation

2016-12-10 Thread Thomas Huth
line documentation, you can find some more information in the qemu-doc here: https://qemu.weilnetz.de/qemu-doc.html#pcsys_005fmonitor Thomas > > 2016-12-11 8:11 GMT+01:00 Thomas Huth : >> On 10.12.2016 19:55, Vincenzo Romano wrote: >>> Hi all. >>> I&#

Re: [Qemu-discuss] monitor documentation

2016-12-10 Thread Thomas Huth
http://wiki.qemu.org/Documentation#Startup Thomas > > 2016-12-11 8:19 GMT+01:00 Thomas Huth : >> On 11.12.2016 08:13, Vincenzo Romano wrote: >>> Hi. >>> No, I haven't tried it yet: a I was expecting an online manual! :-) >>> >>> Does it contai

Re: [Qemu-discuss] [Qemu-ppc] [Help]How to simulate a power8 guest on X86 host

2016-12-19 Thread Thomas Huth
On 19.12.2016 04:02, 顾政 wrote: > Hi all, > I tried to simulate a ppc64 guest to install Ubuntu-16.04.1-server-ppc64el: > http://101.96.10.47/cdimage.ubuntu.com/releases/16.04/release/ubuntu-16.04.1-server-ppc64el.iso > > But it failed (start kernel paniced) after enter the install stage, > follow

[Qemu-discuss] QEMU Advent Calendar - Final day

2016-12-24 Thread Thomas Huth
Hi all, the last door of the QEMU advent calendar 2016 can now be opened (http://www.qemu-advent-calendar.org/2016/index.html#day-24), so we'd now like to say thank you to everybody who has contributed to or followed the advent calendar! It was fun to come up with all these disk images and we hop

Re: [Qemu-discuss] Help in understanding the "info network"

2017-01-09 Thread Thomas Huth
On 06.01.2017 06:53, boddu pavan wrote: > > Hi, > > I am woking with xilinx zynqmp soc. On the qemu console "info networks" > gives below log. > > (qemu) info network > hub 0 > \ hub0port2: ethernet@0xFF0D: index=0,type=nic, > \ hub0port1: ethernet@0xFF0C000

Re: [Qemu-discuss] Help in understanding the "info network"

2017-01-10 Thread Thomas Huth
On 10.01.2017 13:47, boddu pavan wrote: > > Hi Thomas, > > On Monday, January 9, 2017 3:01 PM, Thomas Huth > wrote: [...] > If you want to hook up all the NICs to one user network, I think you > could do something like this: > &

Re: [Qemu-discuss] New web site!

2017-02-07 Thread Thomas Huth
On 07.02.2017 11:06, James Hanley wrote: > Why the new domain? It's not new, it's the official domain of the QEMU project. For some historical details see: http://git.qemu-project.org/?p=qemu.git;a=commitdiff;h=859389810910 (though the situation has improved nowadays, as far as I know) Thomas >

Re: [Qemu-discuss] dumpdtb on ARM

2017-04-27 Thread Thomas Huth
On 27.04.2017 16:59, Nerijus Baliunas wrote: > Hello, > > how do I use dumpdtb on ARM? It works on PPC64: > qemu-system-ppc64 -machine dumpdtb=file.dtb > it dumps device tree to a file. > > qemu-system-arm -machine virt-2.9 dumpdtb=file.dtb Try to use a comma here ---^ I.e.: qemu-system

Re: [Qemu-discuss] Two NICs with legacy -net

2017-05-18 Thread Thomas Huth
Hi, On 18.05.2017 18:58, Narcis Garcia wrote: > Okay, I see that vlan=n is required to relate each tap to each nic. > But when I add more than 8 NICs, qemu fails with: > > qemu-system-x86_64: -net > nic,vlan=8,macaddr=00:16:3E:F9:82:53,model=virtio: Too Many NICs > qemu-system-x86_64: -net > nic

Re: [Qemu-discuss] Ram dump more than 4GB

2017-07-24 Thread Thomas Huth
On 21.07.2017 19:46, Pierre Kim wrote: > Hello, I am looking for a way to dump the RAM of a virtual machine. > > There is pmemsave but it only allows 32bit integers as the parameter so > I am unable to dump RAM areas past 4GB limit. > > Is there a way to dump RAM regions after 4GB. I guess it sh

Re: [Qemu-discuss] No internet access from centos 7 minimal guest

2017-08-28 Thread Thomas Huth
On 28.08.2017 13:56, Mahmood wrote: > Hi,I have installed a Centos 7 minimal installation with the following command > qemu-system-x86_64 -m 4000 -smp 2 -hda  centos7ser.img -boot c -usbdevice > tablet -enable-kvm -device e1000,netdev=host_files -netdev > user,net=10.0.2.0/24,id=host_files,restri

Re: [Qemu-discuss] changing from net to netdev with vde switches and double nics

2017-08-29 Thread Thomas Huth
Hi, On 28.08.2017 15:58, Paolo wrote: > Hello everyone, > > I'm at loss as to how to translate from net to netdev syntax the following > lines: > > NET0="-net vde,vlan=0,sock=/var/run/vde.ctl00 -net > nic,vlan=0,model=rtl8139,macaddr=$NIC0MAC -net > tap,vlan=0,ifname=pub2,script=no,downscrip

Re: [Qemu-discuss] Accessing a shared folder

2017-08-29 Thread Thomas Huth
Hi, On 29.08.2017 20:07, Mahmood wrote: > Hi, > Following the manual, I use this command to boot a centos guest and access a > ashared folder between host and guest > > qemu-system-x86_64 -m 2000 -hda cent7.img -boot c -usbdevice tablet > -enable-kvm -device e1000,netdev=host_files -netdev >

Re: [Qemu-discuss] changing from net to netdev with vde switches and double nics

2017-08-29 Thread Thomas Huth
On 29.08.2017 21:22, Paolo wrote: > > -- >> On Tue, 29 Aug 2017 11:48:20 +0200 >> Thomas Huth wrote: > [cut] >> That's interesting, I think you're the first person I know in months or >&

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Thomas Huth
On 30.08.2017 09:55, Mahmood wrote: >> You don't have to write "fsdriver" here, but replace it with "local", >> "handle" or "proxy". > > Still get the same error > > mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 > -hda centos7server.img -boot c  -usbdevice tablet -en

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Thomas Huth
On 30.08.2017 11:28, Mahmood wrote: >> Could you please try to replace the -virtfs option with these two options: >> > >-fsdev local,id=shared,path=/home/mahmood/Downloads \ > >-device virtio-9p-pci,fsdev=shared,mount_tag=Downloads > > Still get the same error! > > mahmood@cluster:qemu-vm$ qemu

Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Thomas Huth
On 30.08.2017 12:11, Greg Kurz wrote: [...] > Hi, > > Both -virtfs and -fsdev/-device syntaxes work for me with the current QEMU > master branch :) Where's your qemu-system-x86_64 binary coming from ? There is at least one problem with -virtfs if you forget to specify the "security_model=xxx" opt

Re: [Qemu-discuss] Coldfire 5282 Support

2017-09-04 Thread Thomas Huth
On 01.09.2017 21:03, William Mahoney wrote: > Hello QEMU users. > > I am interested in looking into a port for the Motorola Coldfire 5282. I saw > that others in the Coldfire family were supported, like the 5208 eval board > and the 5206 as a bare CPU. When I started looking into it I saw that s

Re: [Qemu-discuss] Coldfire 5282 Support

2017-09-05 Thread Thomas Huth
On 06.09.2017 00:04, William Mahoney wrote: > >> On Sep 5, 2017, at 4:37 PM, Peter Maydell wrote: >> >> On 5 September 2017 at 20:30, William Mahoney wrote: [...] >>> I’d like to find this and/or anything else to clue me in before >>> starting as to the level of difficulty to add 5282. I mean, I

Re: [Qemu-discuss] cortex M4F support

2017-09-08 Thread Thomas Huth
On 08.09.2017 09:05, massimiliano cialdi wrote: > Is cortex M4F supported? > Which command line parameters? You can query the list of supported CPUs with "-cpu ?" like this: qemu-system-aarch64 -M virt -cpu ? There seems to be a "cortex-m4" available ... is that close enough to the "M4F"? Thom

Re: [Qemu-discuss] Coldfire 5282 Support

2017-09-08 Thread Thomas Huth
On 08.09.2017 22:32, William Mahoney wrote: > > I thought I would look at the -bios first and I had some time this afternoon. > If you’re the right age group you will understand when I say "YOU ARE IN A > MAZE OF TWISTY LITTLE PASSAGES, ALL ALIKE”. No, looks like I'm too young - my first comput

Re: [Qemu-discuss] Coldfire 5282 Support

2017-09-13 Thread Thomas Huth
On 12.09.2017 21:05, William Mahoney wrote: > OK a bit of an update and another question or two. First, you’re right, “it > just plain works”. What I’d like to verify today is that I am “doing the > right thing” is all. > > 1) I made a copy of qemu/hw/m68k/mcf5208.c as mcf5282.c and I - for now

Re: [Qemu-discuss] Coldfire 5282 Support

2017-09-13 Thread Thomas Huth
On 13.09.2017 16:31, William Mahoney wrote: [...] > By the way, there is a link to a uClinux image on the emu documentation pages > but the link times out. Is there a uClinux 5208 kernel image somewhere else? > I only wanted to try that to make sure that everything else (serial ports) is > set u

Re: [Qemu-discuss] qemu-img: Check failed: No space left on device

2017-09-19 Thread Thomas Huth
On 19.09.2017 09:06, Nicolas Ecarnot wrote: > Hello, > > Would it be a better idea I post this question on the devel list? I'd suggest the qemu-block mailing list: https://lists.nongnu.org/mailman/listinfo/qemu-block Thomas

Re: [Qemu-discuss] Upgrade from 0.11.0 to 2.9.0

2017-09-20 Thread Thomas Huth
Hi, On 19.09.2017 19:50, Schmidt, Alexander wrote: [...] > I am struggling to update one command for a powerpc machine. > > Host: Windows 10 64-bits latest version. i7 CPU > Guest: Debian 5.0 PPC > > The command QEMU manager used was: > "C:\qman70\qemu\qemu-system-ppc.exe" -L "C:\qman70\qemu" -

Re: [Qemu-discuss] Upgrade from 0.11.0 to 2.9.0

2017-09-25 Thread Thomas Huth
de. Thomas > -----Original Message- > From: Thomas Huth [mailto:th.h...@gmx.de] > Sent: Wednesday, September 20, 2017 1:13 AM > To: Schmidt, Alexander; qemu-discuss@nongnu.org > Subject: Re: [Qemu-discuss] Upgrade from 0.11.0 to 2.9.0 [...] > PS: I recommend to either use version 2.

Re: [Qemu-discuss] Coldfire 5282 Support

2017-10-03 Thread Thomas Huth
On 26.09.2017 23:12, William Mahoney wrote: > Thanks Peter! > > Couple of new things now that I had an afternoon to look again. I have > discovered that the eval board I can get my hands on is a 5272 and not a > 5282, and although the eval board for a 5208 comes with a kernel the 5282 > does no

Re: [Qemu-discuss] Coldfire 5282 Support

2017-10-03 Thread Thomas Huth
On 03.10.2017 15:21, William Mahoney wrote: > Hi Thomas; > > I was telling this to Peter as well offline. The initial problem just FYI was > that the routing on the m68k side was nonexistent, so it wasn’t even sending > anything to the net drivers at all. I turned on the debugging in the net >

Re: [Qemu-discuss] Coldfire 5282 Support

2017-10-03 Thread Thomas Huth
On 03.10.2017 15:48, William Mahoney wrote: > I also get everything from DHCP and I am correctly set as the .15 address, > etc. > > eth0 Link encap:Ethernet HWaddr 52:54:00:12:34:56 > inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MUL

Re: [Qemu-discuss] Qemu on windows host is slow

2017-11-10 Thread Thomas Huth
On 10.11.2017 08:49, mahmood n wrote: > Hi, > I have installed qemu on my windows 10 (x64) and I am able to run > qemu-system-x86_64 command. Problem is that it is very slow! And when I want > to install an Ubuntu as a guest, I have to wait many minutes to see the > installation wizard. > > On

Re: [Qemu-discuss] Apple hyphervisor.framework availability

2017-11-23 Thread Thomas Huth
On 23.11.2017 08:36, Brendan Simon (eTRIX) wrote: > Hi QEMU devs, > > Just wondering when the accelerator for Apple's hypervisor.framework > (hvf) will hit the git repos to build and try out? > > I get the impression that patches have been submitted, but I can't see > anything in the repos.  Is t

Re: [Qemu-discuss] s390x user-mode working example

2017-11-23 Thread Thomas Huth
On 23.11.2017 22:00, Alex Kashchenko wrote: > Hi, > > I am trying to build qemu-s390x-user static binary to run a hello-world > program cross-compiled with gcc-s390x-linux-gnu on linux_x86_64. > > I am building qemu with: > > ./configure --static --disable-werror --target-list=s390x-linux-user >

Re: [Qemu-discuss] s390x user-mode working example

2017-11-24 Thread Thomas Huth
On 24.11.2017 12:19, Alex Kashchenko wrote: > Unfortunately, I just found that OpenJDK's JIT requires newer > instruction set than z900: > > $ ./s390x-linux-user/qemu-s390x > ~/jdk9/build/linux-s390x-normal-server-release/images/jdk/bin/java -version > # > # A fatal error has been detected by the

Re: [Qemu-discuss] Setting a interface name with qemu-bridge-helper?

2018-01-14 Thread Thomas Huth
On 13.01.2018 01:34, Shaun Reitan wrote: > When starting vm's with '-netdev bridge,id=net0,br=br0' each vm is given > a tapX interface name and from what I can tell, there is no simple way > to figure out which interface belongs to which VM. > > I'd like to see a name option added to it which woul

Re: [Qemu-discuss] Setting a interface name with qemu-bridge-helper?

2018-01-14 Thread Thomas Huth
On 14.01.2018 11:25, Narcis Garcia wrote: > I think vlan number links different VM instances in a same virtual net > (as physical cables) VM1 & VM2 in vlan=0 ; VM3 in vlan=1 Note sure whether I've got you right, but just in case: The 'vlan' parameter does not influence any tap/bridge settings. It'

Re: [Qemu-discuss] Setting a interface name with qemu-bridge-helper?

2018-01-15 Thread Thomas Huth
On 15.01.2018 21:04, Shaun Reitan wrote: > You can specifiy a ifname is you use -netdev tap however if you try and > use the bridge-helper script you get an error. Also looking at the code > of the bridge-helper I can see there is no logic for specificing a name. >  I've already modified the helper

Re: [Qemu-discuss] No IP in net interface when using socket netdev

2018-01-23 Thread Thomas Huth
Hi, On 23.01.2018 15:37, Zihan Yang wrote: > I'm trying to start two VMs V1 and V2, and let them connect through socket. > > I'm using the latest qemu source code cloned from git. Here is the > configuration of two VM: > V1: two net cards, one for public Internet using SLIRP, one listening on >

Re: [Qemu-discuss] how to disable DHCP client on qemu

2018-01-23 Thread Thomas Huth
Hi, On 23.01.2018 21:01, Medi Montaseri wrote: > I am using qemu-system-x86_64 > (x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0 ) and multiple network > interface and in a bridged mode with the host. [...] > I don't want qemu to run dhcpc as our own boot scripts will do > static/dynamic configurat

Re: [Qemu-discuss] No IP in net interface when using socket netdev

2018-01-24 Thread Thomas Huth
On 24.01.2018 16:09, Zihan Yang wrote: > Hi, > > Thanks for the help, but I don't see how I can assign a static IP to it in > the command line, neither the '-netdev socket' option or the '-device > e1000e' option allows a ip property. Assigning the IP address to an interface is job of the OS that

Re: [Qemu-discuss] how to disable DHCP client on qemu

2018-01-28 Thread Thomas Huth
On 27.01.2018 00:42, Medi Montaseri wrote: > I don't think we are using libvert...here is the actual call to > runqemu(1) and sub-sequent call to qemu-system-x86_64. To be sure, what do you get when you run for example "lsof -iudp" or check the running processes with "ps aux" ? Do you see any dnsm

Re: [Qemu-discuss] qemu-system-sparc and network devices

2018-02-06 Thread Thomas Huth
On 03.02.2018 23:30, Scott Harris wrote: > Hi > > The qemu-system-sparc has a 'lance' model NIC built in and so doesn't > require adding it as a device to the configuration. For my application > that involves getting Sparcstation2 software to run on a Linux PC, the > command line looks something l

Re: [Qemu-discuss] Adding an additional console to the VM on x86

2018-02-15 Thread Thomas Huth
On 16.02.2018 04:45, Jintack Lim wrote: > Hi, > > I was able to add an additional console to the VM on ARM like this, > > -chardev socket,server,host=*,nowait,port=,telnet,id=mychardev0 > -device virtio-serial-device > -device virtconsole,chardev=mychardev0 > > But the same command gave an e

Re: [Qemu-discuss] How to boot from D (not cdrom)?

2018-04-09 Thread Thomas Huth
On 06.04.2018 20:41, Narcis Garcia wrote: > I know the "-boot d" parameter for Qemu, but it only works when optical > media is declared. > If I boot a virtual machine with primary and secondary disk imatges > (e.g. disk1.img and disk2.img in this order), how can I force Qemu > (included BIOS) to bo

Re: [Qemu-discuss] How to run qemu with -nographic and -monitor but still be able to send Ctrl+C to the guest?

2018-04-09 Thread Thomas Huth
On 08.04.2018 12:39, Ciro Santilli wrote: > https://stackoverflow.com/questions/49716931/how-to-run-qemu-with-nographic-and-monitor-but-still-be-able-to-send-ctrlc-to > > I have just found out that if you run QEMU with `-monitor > telnet::45454,server,nowait -nographic`, then Ctrl-C kills the QEMU

Re: [Qemu-discuss] How to run qemu with -nographic and -monitor but still be able to send Ctrl+C to the guest?

2018-04-09 Thread Thomas Huth
On 10.04.2018 02:10, Ciro Santilli wrote: > On Mon, Apr 9, 2018 at 1:33 PM, Thomas Huth wrote: >> On 08.04.2018 12:39, Ciro Santilli wrote: [...] >>> Is there a way to both keep my `Ctrl-C` and `-monitor` working with >>> `-nographic`? >>> >>> Full

Re: [Qemu-discuss] How to run qemu with -nographic and -monitor but still be able to send Ctrl+C to the guest?

2018-04-10 Thread Thomas Huth
On 10.04.2018 16:06, Ciro Santilli wrote: > On Tue, Apr 10, 2018 at 6:27 AM, Thomas Huth wrote: >> On 10.04.2018 02:10, Ciro Santilli wrote: >>> On Mon, Apr 9, 2018 at 1:33 PM, Thomas Huth wrote: >>>> On 08.04.2018 12:39, Ciro Santilli wrote: >> [...] >>

Re: [Qemu-discuss] newbie question: how to connect to a running guest with qemu monitor

2018-06-05 Thread Thomas Huth
On 05.06.2018 17:35, Lentes, Bernd wrote: > > > - On May 31, 2018, at 7:47 AM, Han Han h...@redhat.com wrote: > >> virsh qemu-monitor-command is the answer. >> You can use it by following: >> For qmp command: >> # virsh qemu-monitor-command $VM_NAME $QMP_COMMAND >> For hmp commmand: >> # vi

Re: [Qemu-discuss] How to gpg verify qemu-2.12.0.tar.xz?

2018-06-19 Thread Thomas Huth
On 20.06.2018 06:19, Edward Smith wrote: > Hello, > > I downloaded the following files to my Ubuntu machine: > > Jun 19 22:37 qemu-2.12.0.tar.xz > Jun 19 22:37 qemu-2.12.0.tar.xz.sig > > I then attempted to verify the gpg signature of the qemu-2.12.0.tar.xz file > and got the following output: >

Re: [Qemu-discuss] How to gpg verify qemu-2.12.0.tar.xz?

2018-06-19 Thread Thomas Huth
oncept of the web of trust. If that's important to you, I can recommend to visit KVM Forum, DevConf, FOSDEM or another open source conference where you can meet the QEMU developers and exchange the key fingerprints with some people there. Thomas > On Wed, Jun 20, 2018 at 12:47 AM Tho

Re: [Qemu-discuss] Does Anyone Know What The x86_64 Magic and Mask Are (For binfmt_misc)?

2018-08-01 Thread Thomas Huth
On 07/28/2018 06:29 PM, Tom A wrote: > Hello Everyone, > > Hopefully, I am posting in the right place. I normally don't use a mailing > list. Anyway, I was wondering if anyone here knows what the magic and mask > values are for an x86_64 Linux binary file. > > My goal is to run a chroot x86_64 en

Re: [Qemu-discuss] Request for information inclusion on the wiki links page section of QEMU project!

2018-08-15 Thread Thomas Huth
On 08/15/2018 04:22 PM, daniel silva ferreira bruno wrote: > Hi, staff of QEMU project! > I am Daniel Silva Ferreira Bruno, creator of the JavaQEMU Open Source > Software, available at:https://sourceforge.net/projects/javaqemu/. > JavaQemu is a Graphical User Interface Front End for QEMU, written

Re: [Qemu-discuss] Request for information inclusion on the wiki links page section of QEMU project!

2018-08-16 Thread Thomas Huth
On 08/16/2018 08:48 AM, Thomas Huth wrote: [...] > Having said that, I think we can remove most of the other GUI entries in > the Wiki nowadays, since they seem to be pretty much out-of-date. FYI, I've now refreshed the links page, but in a little bit different way: I've introduc

Re: [Qemu-discuss] unstable qemu under Ubuntu (on Windows)

2018-09-05 Thread Thomas Huth
On 2018-09-05 10:15, Fabrizio Caruso wrote: [...] > Should I try a real virtual enviroment, e.g., VirtualBox? Does qemu run under > VirtualBox? I don't know VirtualBox, but you can certainly run QEMU on a Linux that runs within QEMU on Windows: https://www.qemu.org/2017/11/22/haxm-usage-windows/

Re: [Qemu-discuss] console output with -nographic on Windows

2018-09-17 Thread Thomas Huth
On 2018-09-17 13:26, Brendan Simon (eTRIX) wrote: > I've been trying to use the following GNU MCU Eclipse QEMU releases to > do unit tests for ARM Cortex binaries. > > https://gnu-mcu-eclipse.github.io/qemu/ > https://gnu-mcu-eclipse.github.io/qemu/releases/ > > I compiled the very simple semi-ho

[Qemu-discuss] QEMU Advent Calendar 2018 - Help wanted

2018-11-13 Thread Thomas Huth
Hi all! This year, we are celebrating the 15th anniversary of QEMU [1] - to do so, we would like to perform another edition of the QEMU Advent Calendar. If you didn't see the previous QEMU Advent Calendars yet, please visit the website and have a look at the editions from 2014 and 2016 (which

Re: [Qemu-discuss] Error Buidling QEMU

2018-11-18 Thread Thomas Huth
On 2018-11-18 21:05, Zeeshan Hayat wrote: > Hi, > > > > I am trying to build QEMU. I get the following errors while build. > > > /home/user/QEMU/qemu/block/file-posix.c:1979: error: unknown field 'prealloc' > specified in initializer > /home/user/QEMU/qemu/block/file-posix.c:1980: error: unkn

Re: [Qemu-discuss] Debugging QEMU NIOS2

2018-11-21 Thread Thomas Huth
On 2018-11-21 11:24, Zeeshan Hayat wrote: > Hi, > > > I am trying to debug simple program (hello_world). I run the QEMU as, > > >> qemu-system-nios2 -s > > > and run the nios aware gdb as, > > >> nios2-elf-gdb hello > > > and than in gdb I attach it to QEMU by, > > >> target remote loc

[Qemu-discuss] QEMU advent calendar 2018

2018-11-30 Thread Thomas Huth
Hi everybody! Starting today, on December 1st, the first door of the QEMU Advent Calendar 2018 can now be opened! The advent calendar reveals a new disk image for download on each of the first 24 days in December 2018, to create a fun experience for the QEMU community, to celebrate the 15th anniv

Re: [Qemu-discuss] Any easy war to access cpu.h in vl.c

2018-12-04 Thread Thomas Huth
On 2018-12-04 15:46, ZEESHAN HAYAT wrote: > Hi, > I am trying to access target/nios2/cpu.h in vl.c. If I add #include > "target/nios2/cpu.h" in vl.c, I get the following errors: You can not include a target-specific header file in common code. vl.c is only compiled once for all targets, but targe

Re: [Qemu-discuss] From -usbdevice host: to -device usb-host,

2019-01-02 Thread Thomas Huth
On 2018-12-27 08:35, Narcis Garcia wrote: > In environments with Qemu 2.8.1 I use: > qemu... -usbdevice host:046d:08b2 > > In environments with newer versions... Should I specify with this syntax? > qemu... -device usb-host,046d:08b2 > (comma and vendor:product) Hi, please have a look at the QEMU

Re: [Qemu-discuss] Weird qemu behaviour with Freescale Coldfire MCF5282

2019-01-30 Thread Thomas Huth
On 2019-01-30 16:26, Alessandro Carminati wrote: > Hello, > > I'm trying reverse engineer the firmware, apparently bare metal, of an > industrial controller. The device is based on a Coldfire controller, to be > more precise, the MCF5282. To track its behavior, I want to use Qemu in its > M68k

Re: [Qemu-discuss] Weird qemu behaviour with Freescale Coldfire MCF5282

2019-01-30 Thread Thomas Huth
On 2019-01-30 17:59, Alessandro Carminati wrote: > From: Thomas Huth [...] > Thank you for your explanation. It helps me a lot in comprehending how Qemu > works, and also understand some of the behavior I see in the logs. > Using GDB was my first choice, I tried this way before th

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

2019-09-26 Thread Thomas Huth
On 26/09/2019 01.30, 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 support

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

2019-09-26 Thread Thomas Huth
On 26/09/2019 15.46, Christian Borntraeger wrote: > > > On 26.09.19 14:58, Daniel P. Berrangé wrote: >> On Thu, Sep 26, 2019 at 08:50:36AM +0100, Peter Maydell wrote: >>> On Thu, 26 Sep 2019 at 00:31, Alex Bennée wrote: The 32 bit hosts are already a second class citizen especially wit

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

2020-05-15 Thread Thomas Huth
On 07/04/2020 12.59, Philippe Mathieu-Daudé wrote: > 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 th

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

2020-05-19 Thread Thomas Huth
On 20/05/2020 01.06, John Snow wrote: > > > On 5/19/20 5:04 AM, Daniel P. Berrangé wrote: >> On Mon, May 18, 2020 at 03:56:36PM -0400, John Snow wrote: >>> >>> >>> On 5/15/20 6:23 AM, Daniel P. Berrangé wrote: >>>> On Fri, May 15, 2020 at 12

Re: Bug https://bugs.launchpad.net/qemu/+bug/1618301 - any hint/workaround?

2020-10-04 Thread Thomas Huth
On 03/10/2020 20.05, Kamil Jońca wrote: I have some ancient archive machines in virtualbox. These mainly NT 4.0. I want to try migrate them to quemu, but without success - cannot make mouse to work properly. Seems that I am hit by https://bugs.launchpad.net/qemu/+bug/1618301. Does anybody has

Re: -drive syntax

2020-10-15 Thread Thomas Huth
On 16/10/2020 02.12, Kevin Shell wrote: > On Thu, Oct 15, 2020 at 09:58:02AM +0200, Max Reitz wrote: [...] > So, creating a drive object is a two step process for qemu, > if={ide, scsi, sd, mtd, floppy, pflash, virtio} is just a shortcut? Right. > exp. > first step is to define the drive object w

Re: I can't use virtio-gpu-device

2021-03-19 Thread Thomas Huth
On 17/03/2021 20.16, مجهول الهوية wrote: I'm write this: qemu-system-x86_64 -device virtio-gpu-device -L "D:\Program Files\qemu" and this is result: D:\Program Files\qemu\qemu-system-x86_64.exe: -device virtio-gpu-device: No 'virtio-bus' bus found for device 'virtio-gpu-device' On x86, you sh

Re: virsh capabilities does not include qemu or kvm

2021-03-23 Thread Thomas Huth
On 22/03/2021 05.57, shafnamol N wrote: Hi, I am new  to Libvirt and Qemu.I have installed Libvirt 7.1.0 and qemu-kvm 4.2.0. I configured and built libvirt based on instructions from https://libvirt.org/compiling.html . But when i tried to create a VM using vir

Re: x86 -> x86 translation

2021-04-19 Thread Thomas Huth
On 19/04/2021 12.34, Amir Naseredini wrote: Hi, Quick question. Is the x86 -> x86 in QEMU an `id` function? Hi, the "normal" emulation in QEMU (called TCG - tiny code generator) is certainly not an identical translation. If you want to run the original code as close as possible to 1:1 "tra

Re: x86 -> x86 translation

2021-04-19 Thread Thomas Huth
On 19/04/2021 16.23, Amir Naseredini wrote: Interesting. But is the `KVM` running an `id` function or is the translation just quite similar to the original code (but not certainly the same)? Well, KVM is (mostly) not translating the code at all, but running the guest code in a "virtual machin

Switching to the GitLab bug tracker

2021-05-03 Thread Thomas Huth
Hi everybody! 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 can now be found here: https://gitlab.com/qemu-project/qemu/-/issues Please note that this h

Re: Switching to the GitLab bug tracker

2021-05-05 Thread Thomas Huth
On 05/05/2021 11.55, 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, May 03, 2021 at 01:16:51PM +0200, Thomas Huth wrote: As you might have already noticed by some other mails on the qemu

Re: Cannot boot from emulated usb key if machine contains an emualted hard disk

2021-05-18 Thread Thomas Huth
On 17/05/2021 22.10, Paul Dufresne wrote: If I do: qemu-system-i386 -m 64M -drive node-name=erika,file=FD13FULL.img,format=raw -usb -device usb-storage,drive=erika I get: qemu-system-i386: -device usb-storage,drive=erika: Conflicts with use by ide0-hd0 as 'root', which does not allow 'write' o

Re: Networking in Qemu with Xilinx-zcu102 machine

2021-06-09 Thread Thomas Huth
On 08/06/2021 19.09, asif siddiqui wrote: Hello All, I am working on the networking between my host OS linux and guest OS QNX(Running on top of qemu). I have an interface xzynq0 in my guest OS with a static/dynamic IP address. I am executing the qemu command as follows - qemu-system-aarch64

Re: how to make qemu build use libfdt in the qemu source dtc/libfdt and not the one in the OS?

2021-06-20 Thread Thomas Huth
On 16/06/2021 04.01, c...@etri.re.kr wrote: Hello I’m using qemu-5.1.0 on ubuntu 20.04. Today while analyzing create_fdt function for arm virt machine, I found the source under dtc/libfdt were not being used during the build. (If I make an error intentionally in the source, it doesn’t compla

Re: This QEMU does not support vmvga?

2021-07-13 Thread Thomas Huth
On 03/07/2021 02.21, Jacob Green wrote:     Hello, so to elaborate on the subject, I am trying to understand why I cannot select the vmvga device and start my VM, I am running CentOS7 with extras enabled, and the QEMU version is "# /usr/libexec/qemu-kvm --version QEMU emulator version 2.12.0 (

Re: Disable scsi disk requests in QEMU when using virtio-blk device

2021-07-18 Thread Thomas Huth
On 18/07/2021 15.37, Arnabjyoti Kalita wrote: Hello all, Is it possible to disable scsi disk requests being generated by the guest when using a virtio-blk device? I am starting the guest in KVM mode using the below command line- sudo ./qemu-system-x86_64 -m 1024 --machine pc-i440fx-2.5 -cpu qe

Re: fbdev2

2021-08-14 Thread Thomas Huth
On 11/08/2021 23.38, Kjell via wrote: Howdy, I hate to ask stupid questions in the wrong places, but I just can't find anything and it puzzles me. Forgive me any ignorance too please. Is it possible, or would it be, to be able to run qemu (qemu-kvm) without X in the framebuffer using the sam

Re: change vnc password

2021-08-18 Thread Thomas Huth
On 16/08/2021 13.53, Jiatong Shen wrote: Hello, I am trying to change the vnc password without shutting down the running virtual machine. And the problem is that virtual machine does not have a password.. Is it possible to change its password? Thank you. If you've got a HMP monitor open, you

Re: QEMU boot kernel for ppc e300c3 problem

2021-09-05 Thread Thomas Huth
On 04/09/2021 12.59, Ali Vatankhah wrote: I am new to QEMU. I built a Linux kernel 4.14 and rootfs for MPC8308 (this CPU has e300c3 ppc core with Yocto (thud version) and it works on real hardware well. When I run this command to run kernel with QEMU: qemu-system-ppc -kernel vmlinux.bin -nogra

Re: QEMU boot kernel for ppc e300c3 problem

2021-09-06 Thread Thomas Huth
On 06/09/2021 09.40, Ali Vatankhah wrote: Thank you Thomas for your reply. > You definitly need to select the right CPU type, too. So for your case, > you'd need to add the "-cpu e300c3" command line switch  Also added this option but nothing changed and the command does not print anything.

Re: Cross compile QEMU guest agent for windows on Linux server

2021-09-16 Thread Thomas Huth
On 17/09/2021 08.01, Jiatong Shen wrote: Hello community,    I am trying to build qemu guest agent for windows on a linux server, but I do not know how to start.. Could you give me references to guide me through the building process? Thank you. Have a look here: https://wiki.qemu.org/Host

Re: Unable to boot Fedora LiveCD from USB pendrive with qemu-system

2021-11-08 Thread Thomas Huth
On 07/11/2021 16.30, Marcin Zajączkowski wrote: Hi. Having some (dracut-related) issues with a Fedora LiveCD installed on a pendrive, I wanted to play with it using qemu instead of a real computer. Unfortunately, while the pendrive boot fine in real, with qemu, I ended up with "Booting from Hard

Re: Guest Ubuntu 18.04 fails to boot with -serial mon:stdio, cannot find ttyS0.

2021-11-12 Thread Thomas Huth
On 11/11/2021 17.10, Peter Maydell wrote: On Mon, 8 Nov 2021 at 18:05, David Fernandez wrote: ../configure \ --enable-lto \ Does disabling LTO make a difference? That's about the only thing in the configure options that stands out as maybe making a difference. Please don't use LTO o

Re: ppc64 XER potentially ignored/not setting

2021-11-15 Thread Thomas Huth
On 30/10/2021 19.19, Kyle Lehman wrote: Hello all, I work with the libre-soc team in the testing area.  Recently I have started on writing an interface that uses qemu as another means to verify our results from our own simulations against qemu. The basic workflow I have set up is: 1. Take a

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-13 Thread Thomas Huth
Hi! On 10/12/2021 18.02, Alexander Sosedkin wrote: With QEMU 5 I could totally issue a QMP netdev_add with the same ID to adjust the NetdevUserOptions I want, such as restrict or hostfwd. No deleting needed, just a netdev_add with what I want changed as a param. I'm a little bit surprised tha

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Thomas Huth
On 15/12/2021 04.31, Jason Wang wrote: On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: Hi! On 10/12/2021 18.02, Alexander Sosedkin wrote: With QEMU 5 I could totally issue a QMP netdev_add with the same ID to adjust

Re: os x resolution only 800x600

2022-01-27 Thread Thomas Huth
On 26/01/2022 14.11, Pascal wrote: hi, may be with -device VGA,edid=on,xres=1280,yres=720 regards. You could also try with: -g 1800x1080 That seems to provide a bigger screen for the firmware, at least. It does not seem to work right with a width of 1920, though. Thomas Le mer. 26 janv.

Re: how to obtain qemu changlogs

2022-02-08 Thread Thomas Huth
On 09/02/2022 03.25, Jiatong Shen wrote: Hello community,    I am trying to find new changelogs for each release. I find there is a site (https://wiki.qemu.org/ChangeLog/6.1 ) for it, but looks like it does not contain every changes. for example, https:/

Re: Physical USB port addressing

2022-03-29 Thread Thomas Huth
On 25/03/2022 19.13, Narcis Garcia wrote: Some versions ago I could specify a host plugged device with this: -usbdevice host:2001:3c17 but now I don't find a syntax that works for me (I also wish to ignore which physical port is device connected to): $ lsusb Bus 004 Device 001: ID 1d6b:0003 Li

Re: Custom DNS for a VM

2022-05-30 Thread Thomas Huth
On 26/05/2022 12.01, Narcis Garcia wrote: Is it possible to specify an explicit DNS IP for a VM in user mode networking? For example, host uses 1.2.3.4 as nameserver at /etc/resolv.conf And I want a user mode VM makes queries to a different nameserver. Context: Qemu 5.2.0 in Debian 11 host. All

  1   2   >