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

[Xen-devel] [PATCH] patch for listing and reading files from qcow2-formated image file (for xen-4.1.2)



Hi,
  The final effect is as follows:
 ÂÂ
[malei@xentest-4-1 Fri Dec 28 ~/honeypot/xen/xen-4.1.2]$ qemu-img-xen cat -f /1/boot.ini ~/vm-check.imgÂ
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect

[malei@xentest-4-1 Fri Dec 28 ~/honeypot/xen/xen-4.1.2]$ qemu-img-xen ls -l -d /1/ ~/vm-check.imgÂ
ãname        ÂÂsize(bytes) dir?   Âdate        Âcreate-timeã
AUTOEXEC.BAT 0 Â Â Â Â Â Â Â Âfile 2010-12-22 Â Â Â Â17:30:37
boot.ini       ÂÂ211        Âfile 2010-12-23    Â01:24:41
bootfont.bin Â322730 Â Â Â Â Â Â Â Âfile 2004-11-23 Â Â Â Â20:00:00



As you see above, the patch add two sub-commands for qemu-img-xenïcat and ls.

For details in the patch, please check the attachment.Â


Attachment: qemu-imgfs-for-qcow2.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.