From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wong Subject: Can i shrink the image file size? Date: Sun, 22 Mar 2009 00:45:58 +0800 Message-ID: <49C519C6.2020908@wonghome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from smtp.ctimail.com ([203.186.94.58]:34899 "EHLO smtpo.ctimail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754495AbZCUReQ (ORCPT ); Sat, 21 Mar 2009 13:34:16 -0400 Received: from pdc.wonghome.net (124244200136.ctinets.com [124.244.200.136]) by smtpo.ctimail.com (8.12.11/8.12.11) with ESMTP id n2LGk5Po001491 for ; Sun, 22 Mar 2009 00:46:05 +0800 (HKT) Received: from pdc.wonghome.net (localhost [127.0.0.1]) by pdc.wonghome.net (Postfix) with ESMTP id 5719F34FD0 for ; Sun, 22 Mar 2009 00:46:05 +0800 (HKT) Received: from [192.168.168.3] (redcat.wonghome.net [192.168.168.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pdc.wonghome.net (Postfix) with ESMTPSA id 02EE134E3D for ; Sun, 22 Mar 2009 00:46:04 +0800 (HKT) Sender: kvm-owner@vger.kernel.org List-ID: I create the 30G qcow2 image file, installed winxp, winxp show me the harddisk used 5G, but the image file size is 12G now. can i shrink the image file size? how? my kvm version is: "kvm-84", qemu version is: "0.9.1". please help, thank you.