public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Using qemu-img to directly convert physical disk to KVM image
@ 2010-11-08 22:48 Emmanuel Noobadmin
  2010-11-08 23:27 ` Michael Tokarev
  0 siblings, 1 reply; 5+ messages in thread
From: Emmanuel Noobadmin @ 2010-11-08 22:48 UTC (permalink / raw)
  To: kvm

I'm trying to convert a physical Windows XP machine into a KVM guest.
All the guides so far mentions using dd to create a flat image file,
then using qemu-img to convert that to qcow2. Since I've been making
mistake here and there, retrying the process several times (initially
converting each logical partition into an image), the question struck
me: is there any reason why I cannot do something like this
qemu-img convert -f /dev/sdc -O qcow2 /images/winxp.qcow instead of
having to do it in two passes which literally take hours each.

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

end of thread, other threads:[~2010-11-09 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08 22:48 Using qemu-img to directly convert physical disk to KVM image Emmanuel Noobadmin
2010-11-08 23:27 ` Michael Tokarev
2010-11-09  2:54   ` Emmanuel Noobadmin
2010-11-09  7:53     ` Michael Tokarev
2010-11-09 16:22       ` Emmanuel Noobadmin

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