def resize_image(self, size):
        dd_path = os.path.join(self.path, "DiskDescriptor.xml")
        utils.execute('ploop', 'grow', '-s', '%dK' % (size >> 10), dd_path,
                      run_as_root=True)