qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1790268] [NEW] the vhd generated by qemu-img not align


From: Andy
Subject: [Qemu-devel] [Bug 1790268] [NEW] the vhd generated by qemu-img not align with MiB again.
Date: Sat, 01 Sep 2018 06:00:44 -0000

Public bug reported:

I'm using this version on xenial,
address@hidden:~/temp$ qemu-img -h
qemu-img version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.31), Copyright (c) 
2004-2008 Fabrice Bellard

steps to repro:

dd if=/dev/zero of=/tmp/azure_config_disk_image20180901-22672-16zxelu 
bs=1048576 count=24
mkfs.ext4 -F /tmp/azure_config_disk_image20180901-22672-16zxelu -L azure_cfg_dsk
sudo -n mount -o loop /tmp/azure_config_disk_image20180901-22672-16zxelu 
/tmp/azure_config_disk_mount66c11d7a-5f2b-4ed5-b959-3b48dbc42a2a20180901-22672-1ejreat
sudo -n chown andy 
/tmp/azure_config_disk_mount66c11d7a-5f2b-4ed5-b959-3b48dbc42a2a20180901-22672-1ejreat
mkdir -p 
/tmp/azure_config_disk_mount66c11d7a-5f2b-4ed5-b959-3b48dbc42a2a20180901-22672-1ejreat/configs
sudo -n umount 
/tmp/azure_config_disk_mount66c11d7a-5f2b-4ed5-b959-3b48dbc42a2a20180901-22672-1ejreat
qemu-img convert -f raw -O vpc -o subformat=fixed,force_size 
/tmp/azure_config_disk_image20180901-22672-16zxelu papapa2.vhd

unfortunately the papapa2.vhd size is 25166336!=25165824 which means
it's not aligned in MiB.

could you please help?

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1790268

Title:
  the vhd generated by qemu-img not align with MiB again.

Status in QEMU:
  New

Bug description:
  I'm using this version on xenial,
  address@hidden:~/temp$ qemu-img -h
  qemu-img version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.31), Copyright (c) 
2004-2008 Fabrice Bellard

  steps to repro:

  dd if=/dev/zero of=/tmp/azure_config_disk_image20180901-22672-16zxelu 
bs=1048576 count=24
  mkfs.ext4 -F /tmp/azure_config_disk_image20180901-22672-16zxelu -L 
azure_cfg_dsk
  sudo -n mount -o loop /tmp/azure_config_disk_image20180901-22672-16zxelu 
/tmp/azure_config_disk_mount66c11d7a-5f2b-4ed5-b959-3b48dbc42a2a20180901-22672-1ejreat
  sudo -n chown andy 
/tmp/azure_config_disk_mount66c11d7a-5f2b-4ed5-b959-3b48dbc42a2a20180901-22672-1ejreat
  mkdir -p 
/tmp/azure_config_disk_mount66c11d7a-5f2b-4ed5-b959-3b48dbc42a2a20180901-22672-1ejreat/configs
  sudo -n umount 
/tmp/azure_config_disk_mount66c11d7a-5f2b-4ed5-b959-3b48dbc42a2a20180901-22672-1ejreat
  qemu-img convert -f raw -O vpc -o subformat=fixed,force_size 
/tmp/azure_config_disk_image20180901-22672-16zxelu papapa2.vhd

  unfortunately the papapa2.vhd size is 25166336!=25165824 which means
  it's not aligned in MiB.

  could you please help?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1790268/+subscriptions



reply via email to

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