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

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

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

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

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

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

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

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

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

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