public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Does qemu-img use qemu-system-x86_64?
@ 2009-07-07  6:51 Kilb Tobias (Extern)
  2009-07-07  9:09 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Kilb Tobias (Extern) @ 2009-07-07  6:51 UTC (permalink / raw)
  To: kvm

Good morning list,

Does anybody know if the command "qemu-img snapshot -c blabla
mymachine.qcow2" starts a virtual machine in the background for doing a
snapshot? 

The problem is that I have two versions of qemu on my system. I am using
the 0.10.5 for running virtual machines. When I am doing a snapshot with
CTRL+ALT+2 and then typing "savevm blabla" then everything goes fine".
But when I run the qemu-img command, it does not create the snapshot
(infinite loop). 

Maybe the qemu-img runs an old 0.9.1 version of qemu (corrupted snapshot
code?)?

Regards,

Tobias


------------------------------------------------------------------------------------------------------------
Es wird ein guter Tag. Mit Sirona. It will be a great day. With Sirona
------------------------------------------------------------------------------------------------------------
Sirona Dental Systems GmbH . HRB 24948 . 
Vorsitzender des Aufsichtsrats: Dr. Erich Blum .
Sirona Dental Services GmbH . HRB 25819 . 
Sirona Holding GmbH . HRB 25817 .
Sirona Immobilien GmbH . HRB 24987 .
Sirona International Holding GmbH . HRB 25741 .
Sirona Technologie GmbH & Co. KG . HRA 83590 .
Geschaftsfuhrung: Theo Haar .
Sitz der Gesellschaften: Bensheim . Registergericht: AG Darmstadt .
------------------------------------------------------------------------------------------------------------
Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten
bestimmt und kann vertrauliche Informationen beinhalten. Wenn Sie
diese E-Mail irrtuemlich erhalten haben, verstaendigen Sie uns 
bitte umgehend unter postmaster@sirona.com und loeschen die
E-Mail. Sie duerfen die E-Mail nicht kopieren, verteilen,
veroeffentlichen oder sonst in irgendeiner Weise verwenden.
 
This e-mail is intended only for the designated recipient(s). It may
contain confidential or proprietary information and may be subject to other
confidentiality protections. If you are not a designated recipient, you may
not review, copy or distribute this message. If you receive this in error,
please notify us immediately at postmaster@sirona.com and delete this message
------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Does qemu-img use qemu-system-x86_64?
  2009-07-07  6:51 Does qemu-img use qemu-system-x86_64? Kilb Tobias (Extern)
@ 2009-07-07  9:09 ` Avi Kivity
  2009-07-07 11:06   ` Kevin Wolf
  0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2009-07-07  9:09 UTC (permalink / raw)
  To: Kilb Tobias (Extern); +Cc: kvm

On 07/07/2009 09:51 AM, Kilb Tobias (Extern) wrote:
> Good morning list,
>
> Does anybody know if the command "qemu-img snapshot -c blabla
> mymachine.qcow2" starts a virtual machine in the background for doing a
> snapshot?
>
>    

It does not.

> The problem is that I have two versions of qemu on my system. I am using
> the 0.10.5 for running virtual machines. When I am doing a snapshot with
> CTRL+ALT+2 and then typing "savevm blabla" then everything goes fine".
> But when I run the qemu-img command, it does not create the snapshot
> (infinite loop).
>
> Maybe the qemu-img runs an old 0.9.1 version of qemu (corrupted snapshot
> code?)?
>
>    

Maybe you're using an old qemu-img?

If you're using an old image, it's worthwhile to regenerate it using 
'qemu-img convert' to clear any hidden corruption.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Does qemu-img use qemu-system-x86_64?
  2009-07-07  9:09 ` Avi Kivity
@ 2009-07-07 11:06   ` Kevin Wolf
  2009-07-08  7:07     ` Kilb Tobias (Extern)
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Wolf @ 2009-07-07 11:06 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Kilb Tobias (Extern), kvm

Avi Kivity schrieb:
> If you're using an old image, it's worthwhile to regenerate it using 
> 'qemu-img convert' to clear any hidden corruption.

Be careful with that. qemu-img convert doesn't retain snapshots, so
you're only converting whatever the guest currently sees. But at least
checking old images is a good idea.

Kevin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Does qemu-img use qemu-system-x86_64?
  2009-07-07 11:06   ` Kevin Wolf
@ 2009-07-08  7:07     ` Kilb Tobias (Extern)
  0 siblings, 0 replies; 4+ messages in thread
From: Kilb Tobias (Extern) @ 2009-07-08  7:07 UTC (permalink / raw)
  To: kvm

Avi Kivity schrieb:
> If you're using an old image, it's worthwhile to regenerate it using 
> 'qemu-img convert' to clear any hidden corruption.

> Be careful with that. qemu-img convert doesn't retain snapshots, so
> you're only converting whatever the guest currently sees. But at least
> checking old images is a good idea.

> Kevin

Hi,

Ok thanks. After converting the image I am able to do a snapshot with
qemu-img. 

Only the time makes me a little bit perplex. Creating a snapshot from a
file with qemu-img takes about 4 minutes. The drive is stored on a
hardware raid  1+0, so write speed should not be the problem.

Regards,

Tobias


------------------------------------------------------------------------------------------------------------
Es wird ein guter Tag. Mit Sirona. It will be a great day. With Sirona
------------------------------------------------------------------------------------------------------------
Sirona Dental Systems GmbH . HRB 24948 . 
Vorsitzender des Aufsichtsrats: Dr. Erich Blum .
Sirona Dental Services GmbH . HRB 25819 . 
Sirona Holding GmbH . HRB 25817 .
Sirona Immobilien GmbH . HRB 24987 .
Sirona International Holding GmbH . HRB 25741 .
Sirona Technologie GmbH & Co. KG . HRA 83590 .
Geschaftsfuhrung: Theo Haar .
Sitz der Gesellschaften: Bensheim . Registergericht: AG Darmstadt .
------------------------------------------------------------------------------------------------------------
Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten
bestimmt und kann vertrauliche Informationen beinhalten. Wenn Sie
diese E-Mail irrtuemlich erhalten haben, verstaendigen Sie uns 
bitte umgehend unter postmaster@sirona.com und loeschen die
E-Mail. Sie duerfen die E-Mail nicht kopieren, verteilen,
veroeffentlichen oder sonst in irgendeiner Weise verwenden.
 
This e-mail is intended only for the designated recipient(s). It may
contain confidential or proprietary information and may be subject to other
confidentiality protections. If you are not a designated recipient, you may
not review, copy or distribute this message. If you receive this in error,
please notify us immediately at postmaster@sirona.com and delete this message
------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-08  7:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07  6:51 Does qemu-img use qemu-system-x86_64? Kilb Tobias (Extern)
2009-07-07  9:09 ` Avi Kivity
2009-07-07 11:06   ` Kevin Wolf
2009-07-08  7:07     ` Kilb Tobias (Extern)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox