Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-14 Thread Max Reitz
On 2017-11-14 21:38, John Snow wrote: > > > On 11/14/2017 03:35 PM, Max Reitz wrote: >> On 2017-11-14 21:30, John Snow wrote: >>> >>> >>> On 11/14/2017 01:46 PM, Max Reitz wrote: On 2017-11-14 19:45, Thomas Huth wrote: > On 14.11.2017 14:32, Max Reitz wrote: > [...] >> Well, do y

Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-14 Thread John Snow
On 11/14/2017 03:35 PM, Max Reitz wrote: > On 2017-11-14 21:30, John Snow wrote: >> >> >> On 11/14/2017 01:46 PM, Max Reitz wrote: >>> On 2017-11-14 19:45, Thomas Huth wrote: On 14.11.2017 14:32, Max Reitz wrote: [...] > Well, do you want to document it? I'd rather deprecate it alt

Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-14 Thread Max Reitz
On 2017-11-14 21:30, John Snow wrote: > > > On 11/14/2017 01:46 PM, Max Reitz wrote: >> On 2017-11-14 19:45, Thomas Huth wrote: >>> On 14.11.2017 14:32, Max Reitz wrote: >>> [...] Well, do you want to document it? I'd rather deprecate it altogether. >>> >>> Maybe a first step could be to ch

Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-14 Thread John Snow
On 11/14/2017 01:46 PM, Max Reitz wrote: > On 2017-11-14 19:45, Thomas Huth wrote: >> On 14.11.2017 14:32, Max Reitz wrote: >> [...] >>> Well, do you want to document it? I'd rather deprecate it altogether. >> >> Maybe a first step could be to change qemu-img so that it refuses to >> create new

Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-14 Thread Max Reitz
On 2017-11-14 19:45, Thomas Huth wrote: > On 14.11.2017 14:32, Max Reitz wrote: > [...] >> Well, do you want to document it? I'd rather deprecate it altogether. > > Maybe a first step could be to change qemu-img so that it refuses to > create new qcow1 images (but still can convert them into othe

Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-14 Thread Thomas Huth
On 14.11.2017 14:32, Max Reitz wrote: [...] > Well, do you want to document it? I'd rather deprecate it altogether. Maybe a first step could be to change qemu-img so that it refuses to create new qcow1 images (but still can convert them into other formats). So basically make qcow1 read-only? Th

Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-14 Thread Max Reitz
On 2017-11-13 19:08, Eric Blake wrote: > On 11/13/2017 11:58 AM, Eric Blake wrote: > qemu-system-aarch64: -drive if=none,file=hda.qcow2,format=qcow,id=hd: Unsupported qcow version 3 >>> >>> ah, this means it wants "format=qcow2". >> >> Oh, I should have read this followup before writing

Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-13 Thread Eric Blake
On 11/13/2017 11:58 AM, Eric Blake wrote: >>> qemu-system-aarch64: -drive if=none,file=hda.qcow2,format=qcow,id=hd: >>> Unsupported qcow version 3 >> >> ah, this means it wants "format=qcow2". > > Oh, I should have read this followup before writing my other reply. > >> >> This is pretty confusin

Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-13 Thread Eric Blake
On 11/13/2017 11:29 AM, Peter Maydell wrote: > On 13 November 2017 at 17:14, Peter Maydell wrote: >> I have a qcow v1 file which I created by mistake (forgetting that >> you need to tell qemu-img create 'qcow2' and not just 'qcow'), >> which I want to convert to a v2 file so I can put snapshots in

Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-13 Thread Eric Blake
On 11/13/2017 11:14 AM, Peter Maydell wrote:> I have a qcow v1 file which I created by mistake (forgetting that > you need to tell qemu-img create 'qcow2' and not just 'qcow'), > which I want to convert to a v2 file so I can put snapshots into > it. But when I try to do this with qemu-img convert i

Re: [Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-13 Thread Peter Maydell
On 13 November 2017 at 17:14, Peter Maydell wrote: > I have a qcow v1 file which I created by mistake (forgetting that > you need to tell qemu-img create 'qcow2' and not just 'qcow'), > which I want to convert to a v2 file so I can put snapshots into > it. But when I try to do this with qemu-img c

[Qemu-devel] using "qemu-img convert -O qcow2" to convert qcow v1 to v2 creates a qcow v3 file?

2017-11-13 Thread Peter Maydell
I have a qcow v1 file which I created by mistake (forgetting that you need to tell qemu-img create 'qcow2' and not just 'qcow'), which I want to convert to a v2 file so I can put snapshots into it. But when I try to do this with qemu-img convert it creates a v3 file instead: $ file hda-old.qcow hd

Re: [Qemu-devel] Using qemu command not able launch VM

2017-10-10 Thread Markus Armbruster
John Snow writes: > On 10/07/2017 03:53 AM, Koushik Dutta wrote: >> Hi All (qemu members), >> >> I installed qemu utility in my host machine. I want to start Virtual >> machine using qemu command. >> >> My host machine: Intel-X86 >> Script for launching VM : >> >> T=/home/koushik/vpp/cloud_ubu

Re: [Qemu-devel] Using qemu command not able launch VM

2017-10-09 Thread John Snow
On 10/07/2017 03:53 AM, Koushik Dutta wrote: > Hi All (qemu members), > > I installed qemu utility in my host machine. I want to start Virtual > machine using qemu command. > > My host machine: Intel-X86 > Script for launching VM : > > T=/home/koushik/vpp/cloud_ubuntu_img > sudo qemu-syste

[Qemu-devel] Using qemu command not able launch VM

2017-10-07 Thread Koushik Dutta
Hi All (qemu members), I installed qemu utility in my host machine. I want to start Virtual machine using qemu command. My host machine: Intel-X86 Script for launching VM : T=/home/koushik/vpp/cloud_ubuntu_img sudo qemu-system-i386 -enable-kvm -m 1024 -smp sockets=1,cpus=4,cores=2 -cpu host

Re: [Qemu-devel] using qemu arm bring up 2 cpus on x86, hang up on guest file system

2014-11-03 Thread Wangkai (Kevin,C)
> -Original Message- > From: Peter Maydell [mailto:peter.mayd...@linaro.org] > Sent: Saturday, November 01, 2014 1:07 AM > To: Wangkai (Kevin,C) > Cc: qemu-devel@nongnu.org; Lee yang > Subject: Re: [Qemu-devel] using qemu arm bring up 2 cpus on x86, hang > up on gues

Re: [Qemu-devel] using qemu arm bring up 2 cpus on x86, hang up on guest file system

2014-10-31 Thread Peter Maydell
On 31 October 2014 03:46, Wangkai (Kevin,C) wrote: > Hi all, > I am using qemu-system-arm emulate armv7 with 2 cpus on x86_64 host, when I > do the command tar -xf xxx.tar or rm -r xxx, after a while, > Guest system hang up on file system: > > When mmc request a block, that cannot receive a reque

[Qemu-devel] using qemu arm bring up 2 cpus on x86, hang up on guest file system

2014-10-31 Thread Wangkai (Kevin,C)
Hi all, I am using qemu-system-arm emulate armv7 with 2 cpus on x86_64 host, when I do the command tar -xf xxx.tar or rm -r xxx, after a while, Guest system hang up on file system: When mmc request a block, that cannot receive a request done event, it seems request done irq loss. After I change

[Qemu-devel] Using qemu to debug arm64 linux kernel

2014-03-03 Thread Xuebing wang
Hi community, I can think of 2 ways to use gdb+qemu to remotely debug arm64 kernel, by enabling gdbstub within qemu to communicate with gdb. I am wondering in the real-world practice, is this debug technique helpful for debugging arm64 kernel? Options are: 1) Host environment: qemu is runn

[Qemu-devel] using qemu binary translation to run I386 code under x86_64

2013-11-02 Thread Lex
Hi all, I am new to the list and to qemu development in general, so my question might be discussed already (though I failed to find an answer in archives, thus writing here). I want to use qemu to execute x86 32-bit binary code inside of x86_64 process under OS X. In future, I would like to

Re: [Qemu-devel] Using QEMU guest agent to run programs from guest path]

2013-01-04 Thread Erlon Cruz
> The parameter passing for guest commands was kludgy (list of json > objects rather than a list of parameter strings), but I think we can handle > that now with the "gen: no" option to the code parser indicating we'll > handle it manually. > > I'm not sure about the guest-file-open-pipe stuff eith

Re: [Qemu-devel] Using QEMU guest agent to run programs from guest path]

2013-01-03 Thread mdroth
On Thu, Jan 03, 2013 at 11:06:02AM -0200, Erlon Cruz wrote: > On Wed, Jan 2, 2013 at 9:04 PM, mdroth wrote: > > > On Mon, Dec 31, 2012 at 06:14:59PM -0200, Erlon Cruz wrote: > > > Hi, > > > > > > > > > I needed to run an external program in a guest machine. Once this must be > > > triggered by th

Re: [Qemu-devel] Using QEMU guest agent to run programs from guest path

2013-01-03 Thread Erlon Cruz
On Wed, Jan 2, 2013 at 9:04 PM, mdroth wrote: > On Mon, Dec 31, 2012 at 06:14:59PM -0200, Erlon Cruz wrote: > > Hi, > > > > > > I needed to run an external program in a guest machine. Once this must be > > triggered by the host, I first thought in qemu-ga. > > Is that possible? In QEMU help page

Re: [Qemu-devel] Using QEMU guest agent to run programs from guest path

2013-01-02 Thread mdroth
On Mon, Dec 31, 2012 at 06:14:59PM -0200, Erlon Cruz wrote: > Hi, > > > I needed to run an external program in a guest machine. Once this must be > triggered by the host, I first thought in qemu-ga. > Is that possible? In QEMU help page and in the code I couldn't find such > capability. > So Im t

[Qemu-devel] Using QEMU guest agent to run programs from guest path

2012-12-31 Thread Erlon Cruz
Hi, I needed to run an external program in a guest machine. Once this must be triggered by the host, I first thought in qemu-ga. Is that possible? In QEMU help page and in the code I couldn't find such capability. So Im thinking In to implement a new GA QMP command that can run generic programs i

Re: [Qemu-devel] Using QEMU for gcc testing

2012-07-19 Thread Michael Eager
On 07/19/2012 08:59 AM, Laurent Desnogues wrote: On Thu, Jul 19, 2012 at 5:29 PM, Michael Eager wrote: I'm interested in using QEMU to test gcc for a processor. This is a hard-metal target -- there is no operating system. Can anyone make suggestions on how to do this? You could look at how Q

Re: [Qemu-devel] Using QEMU for gcc testing

2012-07-19 Thread Laurent Desnogues
On Thu, Jul 19, 2012 at 5:29 PM, Michael Eager wrote: > I'm interested in using QEMU to test gcc for a processor. > This is a hard-metal target -- there is no operating system. > > Can anyone make suggestions on how to do this? You could look at how QEMU implements semihosting for ARM. And also h

[Qemu-devel] Using QEMU for gcc testing

2012-07-19 Thread Michael Eager
I'm interested in using QEMU to test gcc for a processor. This is a hard-metal target -- there is no operating system. Can anyone make suggestions on how to do this? -- Michael Eagerea...@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077

Re: [Qemu-devel] Using qemu to profile ARM binaries

2012-07-01 Thread Wei-Ren Chen
> I'm trying to edit the qemu source code so I can use qemu as a profiler for a > benchmark of ARM programs. A good start would be counting loads, stores, int > ops, float ops and branch instructions used by each of the binary files. I > have > two (related) questions: > > 1. Where in the qemu im

Re: [Qemu-devel] Using qemu to profile ARM binaries

2012-06-30 Thread Antti P Miettinen
Joey Klonowski writes: > Hi all, > > I'm trying to edit the qemu source code so I can use qemu as a profiler for a > benchmark of ARM programs. A good start would be counting loads, stores, int > ops, float ops and branch instructions used by each of the binary files. I > have two (related) questi

[Qemu-devel] Using qemu to profile ARM binaries

2012-06-29 Thread Joey Klonowski
Hi all, I'm trying to edit the qemu source code so I can use qemu as a profiler for a benchmark of ARM programs. A good start would be counting loads, stores, int ops, float ops and branch instructions used by each of the binary files. I have two (related) questions: 1. Where in the qemu implemen

Re: [Qemu-devel] Using Qemu

2010-04-01 Thread Arpit Patel
Tried that too. Same output. On Thu, Apr 1, 2010 at 8:41 PM, Mulyadi Santosa wrote: > Hi Arpit... > > On Thu, Apr 1, 2010 at 10:04, Arpit Patel wrote: > > Here is the command I issued > > > > "qemu -initrd initramfs.img -kernel vmlinux-2.6.24 /dev/zero -append > "noapic > > rw root=/dev/ram" > >

Re: [Qemu-devel] Using Qemu

2010-04-01 Thread Mulyadi Santosa
Hi Arpit... On Thu, Apr 1, 2010 at 10:04, Arpit Patel wrote: > Here is the command I issued > > "qemu -initrd initramfs.img -kernel vmlinux-2.6.24 /dev/zero -append "noapic > rw root=/dev/ram" IIRC, you need to pass the bzImage as the argument of -kernel parameter, not the vmlinux one. Please tr

Re: [Qemu-devel] Using Qemu

2010-03-31 Thread Arpit Patel
Here is the command I issued "*qemu -initrd initramfs.img -kernel vmlinux-2.6.24 /dev/zero -append "noapic rw root=/dev/ram*" Thanks for help. On Wed, Mar 31, 2010 at 7:26 PM, Mulyadi Santosa wrote: > On Thu, Apr 1, 2010 at 05:20, Arpit Patel wrote: > > Hi, > > > > I am trying to use Qemu, to

Re: [Qemu-devel] Using Qemu

2010-03-31 Thread Mulyadi Santosa
On Thu, Apr 1, 2010 at 05:20, Arpit Patel wrote: > Hi, > > I am trying to use Qemu, to boot kernel image I got, using the initramfs > image that was build, when I build kernel > > But it only loads initramfs image, and gives me prompt with "(initramfs)_", > and thus doesn't load kernel. Care to s

[Qemu-devel] Using Qemu

2010-03-31 Thread Arpit Patel
Hi, I am trying to use Qemu, to boot kernel image I got, using the initramfs image that was build, when I build kernel But it only loads initramfs image, and gives me prompt with "(initramfs)_", and thus doesn't load kernel. Do you guys have any idea, what I am doing wrong. Thanks for your help

Re: [Qemu-devel] Using QEMU as an emulator for an industrial machine.

2009-12-17 Thread Stefan Weil
Florent Defay schrieb: > Hi, > > I need your help: > > I am working for an industrial company. Here, we build a machine > composed of > - a board with a PowerPC as CPU > - classic devices such as ethernet > - other private devices. > > LynxOS runs on the board with private applications and private

[Qemu-devel] Using QEMU as an emulator for an industrial machine.

2009-12-17 Thread Florent Defay
Hi, I need your help: I am working for an industrial company. Here, we build a machine composed of - a board with a PowerPC as CPU - classic devices such as ethernet - other private devices. LynxOS runs on the board with private applications and private additional drivers. We would like to use

Re: [Qemu-devel] Using qemu-thread for synchronization

2009-12-10 Thread Glauber Costa
On Thu, Dec 10, 2009 at 12:46 PM, Liran Schour wrote: > > I want to be able to synchronize between the code that is running the live > migration with the code that call fro the completion callback of async IO. > For that I am using qemu-thread.c (i.e QemuCond). I see that I have > problems while l

[Qemu-devel] Using qemu-thread for synchronization

2009-12-10 Thread Liran Schour
I want to be able to synchronize between the code that is running the live migration with the code that call fro the completion callback of async IO. For that I am using qemu-thread.c (i.e QemuCond). I see that I have problems while linking if I do not use --enable-io-thread. Can someone explain m

Re: [Qemu-devel] Using QEMU as a terminal server?

2007-01-12 Thread Alexandre Leclerc
Michael, Thank you for your help. Now I know it is possible. I'll try to figure all that out. If you know any links on the web that could help me on some specific points, I'll be glad to have a look at them. Best regards. 2007/1/12, Michael McConnell <[EMAIL PROTECTED]>: Alexandre Leclerc wrot

Re: [Qemu-devel] Using QEMU as a terminal server?

2007-01-12 Thread Michael McConnell
Alexandre Leclerc wrote: Hi all, I was thinking to something weird, but I don't know if it is totally doable. So I ask your expertise. (Being under Linux to use W2K images.) - ssh login. - then the login script launch a qemu session without the X session (running without visual). - there would

[Qemu-devel] Using QEMU as a terminal server?

2007-01-12 Thread Alexandre Leclerc
Hi all, I was thinking to something weird, but I don't know if it is totally doable. So I ask your expertise. (Being under Linux to use W2K images.) - ssh login. - then the login script launch a qemu session without the X session (running without visual). - there would be UltraVNC server inside

[Qemu-devel] Using QEMU in a hardware emulator project

2006-08-20 Thread Raphael Bosshard
Hello there! for our semester project we are trying to write a software emulator of a hardware box, used for assembler programming tutorials. These boxes consist of a 80186 processor, a hand tailored bios/io/monitor program and some switches and buttons. Since it would be useless duplication

[Qemu-devel] Using QEMU on a XP Pro desktop, and then using remote desktop - mouse weirdness

2006-08-02 Thread James Olsen
Hello, I occasionally will run QEMU virtual machines on my work computer which is running windows XP (the virtual machines run a variety of OS's). When I am at home, I'll often "Remote Desktop" (I'll shorten it to RD from here on) into my work computer. For those who are not familiar with RD, it

[Qemu-devel] using qemu to profile an application on a different target

2005-11-29 Thread Bjorn Wesen
Hi! I was looking at qemu as a way of quickly trying compiled embedded linux user-space programs on an ARM target, which works nicely. An interesting possibility would be to be able to profile the emulated application while it is running in qemu. The most crude form would be an estimated total