qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [help]how to make qemu-img utility to support writting


From: Kevin Wolf
Subject: Re: [Qemu-devel] [help]how to make qemu-img utility to support writting file or directory to the image file
Date: Tue, 31 Jan 2012 12:55:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

Am 29.01.2012 10:02, schrieb 马磊:
> Hi,
>     qemu-img is only to support create/info and so on whithout writting
> operation to the image file.
>      I have ported the reading operation for a image file form grub2 to
> qemu-img. But NTFS document online  is not detailed enough, how to do
> inorder to achieve the goal of writting to a image file?
>     If anyone encountered the same problem, please reply to me.
>     Thanks ahead!

Embedding file system drivers in qemu-img is not the right approach. You
need to get the image mapped to a block device on your host (e.g. using
qemu-nbd), so you can use the host's file system drivers.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]