[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] qemu-img: fix segment fault when the image
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] qemu-img: fix segment fault when the image format is qed |
Date: |
Sun, 26 Feb 2012 14:58:28 +0000 |
On Sun, Feb 19, 2012 at 2:24 PM, <address@hidden> wrote:
> From: Zhi Yong Wu <address@hidden>
>
> address@hidden qemu]# qemu-img info /home/zwu/work/misc/rh6.img
> image: /home/zwu/work/misc/rh6.img
> file format: qed
> virtual size: 4.0G (4294967296 bytes)
> disk size: 1.2G
> cluster_size: 65536
> Segmentation fault (core dumped)
>
> Today when i were fixing another issue, i found this issue; After simple
> investigation, i found that the required clock vm_clock is not created for
> qemu tool.
>
> Signed-off-by: Zhi Yong Wu <address@hidden>
> ---
> qemu-img.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
Please also see the "qed: replace vm_clock with rt_clock for qemu-tool
compatibility" patch which I just sent. Using vm_clock is not
possible in qemu-tool and leads to abort(3) when running qemu-io write
commands.
Reviewed-by: Stefan Hajnoczi <address@hidden>