Displaying 20 results from an estimated 73 matches for "backing_fmt".
2013 Apr 04
1
Unable to convert vm
...ddf417c91e08924ae699
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/tmp"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -b /tmp/.guestfs-36/root.4124
libguestfs: command: run: \ -o backing_fmt=raw
libguestfs: command: run: \ /tmp/libguestfsm4E1E4/snapshot1
Formatting '/tmp/libguestfsm4E1E4/snapshot1', fmt=qcow2 size=4294967296
backing_file='/tmp/.guestfs-36/root.4124' backing_fmt='raw'
encryption=off cluster_size=65536 lazy_refcounts=off
libguestfs: command: run...
2019 Apr 01
1
Re: guestfish Remote Images IPv6 Support
...pported=none"
"backingformat:raw"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o
backing_file=rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00\:\:cefc\:1]\:6789:auth_supported=none,backing_fmt=raw
libguestfs: command: run: \
/root/libguestfs/tmp/libguestfs9gclsg/overlay1.qcow2
Formatting '/root/libguestfs/tmp/libguestfs9gclsg/overlay1.qcow2',
fmt=qcow2 size=8589934592
backing_file=rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00\:\:cefc\:1]\:6789:auth_supported=none...
2018 Nov 07
2
Re: guestfs_launch() fails when C application is started as a systemd service
...rlay1.qcow2"
"qcow2" -1 "backingfile:/home/peterd/TVE/wer.qcow2" "backingformat:qcow2"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o
backing_file=/home/peterd/TVE/wer.qcow2,backing_fmt=qcow2
libguestfs: command: run: \ /tmp/libguestfsUIZbDK/overlay1.qcow2
Formatting '/tmp/libguestfsUIZbDK/overlay1.qcow2', fmt=qcow2
size=107374182400 backing_file=/home/peterd/TVE/wer.qcow2 backing_fmt=qcow2
encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
libguestfs: e...
2015 Oct 20
1
[PATCH v3 02/13] v2v: factor out overlay creation
...overlay_file =
- Filename.temp_file ~temp_dir:overlay_dir "v2vovl" ".qcow2" in
- unlink_on_exit overlay_file;
-
- let options =
- "compat=1.1" ^
- (match format with None -> ""
- | Some fmt -> ",backing_fmt=" ^ fmt) in
- let cmd =
- sprintf "qemu-img create -q -f qcow2 -b %s -o %s %s"
- (quote qemu_uri) (quote options) overlay_file in
- if verbose () then printf "%s\n%!" cmd;
- if Sys.command cmd <> 0 then
- error (f_&quo...
2019 Mar 29
2
guestfish Remote Images IPv6 Support
..._supported=none"
"backingformat:raw"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o
backing_file=rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none,backing_fmt=raw
libguestfs: command: run: \ /tmp/libguestfs3pGMi6/overlay1.qcow2
qemu-img: /tmp/libguestfs3pGMi6/overlay1.qcow2: invalid conf option
:cefc:1]:6789:auth_supported: No such file or directory
Could not open backing image to determine size.
libguestfs: error: qemu-img: /tmp/libguestfs3pGMi6/overla...
2014 Nov 19
2
Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
...choose the third one, that is the one containing the system (C:) and
marked as bootable.
It is failing very quickly, with the following error :
--------------------
Creating an overlay to protect the source blahblah
qemu-img create -q -f qcow2 -b 'nbd:localhost:55756' -o
'compat=1.1,backing_fmt=raw' /var/tmp/v2vblahblah.qcow2
nbd.c:nbd_receive_negociate():L501: read failed
qemu-img: /var/tmp/v2vvovblahbla.qcow2: could not open
'nbd:localhost:55756': could not open image: invalid argument: invalid
argument
then other blahblahblah before closing.
I'll try another run by...
2018 Nov 07
0
Re: guestfs_launch() fails when C application is started as a systemd service
...and it passes
> though! Confusing...
The log indicates something a bit strange is going on:
> libguestfs: command: run: qemu-img
> libguestfs: command: run: \ create
> libguestfs: command: run: \ -f qcow2
> libguestfs: command: run: \ -o
> backing_file=/home/peterd/TVE/wer.qcow2,backing_fmt=qcow2
> libguestfs: command: run: \ /tmp/libguestfsUIZbDK/overlay1.qcow2
> Formatting '/tmp/libguestfsUIZbDK/overlay1.qcow2', fmt=qcow2
> size=107374182400 backing_file=/home/peterd/TVE/wer.qcow2 backing_fmt=qcow2
> encryption=off cluster_size=65536 lazy_refcounts=off refcount_b...
2014 Nov 19
2
Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
...display:
disks:
nbd:localhost:33363 (raw) [sda]
nbd:localhost:49584 (raw) [sdb]
nbd:localhost:41988 (raw) [sdc]
removable media:
NICs:
[ 0.0] Creating an overlay to protect the source from being modified
qemu-img create -q -f qcow2 -b 'nbd:localhost:33363' -o
'compat=1.1,backing_fmt=raw' /var/tmp/v2vovl636444.qcow2
nbd.c:nbd_receive_negotiate():L501: read failed
qemu-img: /var/tmp/v2vovl636444.qcow2: Could not open
'nbd:localhost:33363': Could not open image: Invalid argument: Invalid
argument
virt-v2v: error: qemu-img command failed, see earlier errors
If repor...
2019 Apr 01
2
Re: guestfish Remote Images IPv6 Support
...images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none"
>>>> "backingformat:raw"
>>>> libguestfs: command: run: \ -o backing_file=rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none,backing_fmt=raw
>>>> libguestfs: command: run: \ /tmp/libguestfs3pGMi6/overlay1.qcow2
>>>> qemu-img: /tmp/libguestfs3pGMi6/overlay1.qcow2: invalid conf option
>>>> :cefc:1]:6789:auth_supported: No such file or directory
>>>> Could not open backing image to determ...
2023 Mar 10
1
[V2V PATCH v3 6/6] tests: add --block-driver option test
...irt-tools"
+export VIRTIO_WIN="$srcdir/../test-data/fake-virtio-win"
+
+d=$PWD/test-v2v-block-driver.d
+rm -rf $d
+cleanup_fn rm -rf $d
+mkdir $d
+
+viostor_img="$d/viostor.qcow2"
+vioscsi_img="$d/vioscsi.qcow2"
+qemu-img create -f qcow2 -b $img_base -o compat=1.1,backing_fmt=raw $viostor_img
+qemu-img create -f qcow2 -b $img_base -o compat=1.1,backing_fmt=raw $vioscsi_img
+base_md5="$(do_md5 $img_base)"
+
+viostor_xml="$d/windows-viostor.xml"
+viostor_name=windows-viostor
+cat > $viostor_xml <<EOF
+<node>
+ <domain type='test&...
2019 Apr 01
2
Re: guestfish Remote Images IPv6 Support
...backingfile:rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none"
>> "backingformat:raw"
>> libguestfs: command: run: \ -o backing_file=rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none,backing_fmt=raw
>> libguestfs: command: run: \ /tmp/libguestfs3pGMi6/overlay1.qcow2
>> qemu-img: /tmp/libguestfs3pGMi6/overlay1.qcow2: invalid conf option
>> :cefc:1]:6789:auth_supported: No such file or directory
>> Could not open backing image to determine size.
> The code in libgu...
2015 Aug 11
0
[PATCH v2 03/17] v2v: factor out overlay creation
...+ let overlay_file =
+ Filename.temp_file ~temp_dir:overlay_dir "v2vovl" ".qcow2" in
+ unlink_on_exit overlay_file;
+
+ let options =
+ "compat=1.1" ^
+ (match format with None -> ""
+ | Some fmt -> ",backing_fmt=" ^ fmt) in
+ let cmd =
+ sprintf "qemu-img create -q -f qcow2 -b %s -o %s %s"
+ (quote qemu_uri) (quote options) overlay_file in
+ if verbose () then printf "%s\n%!" cmd;
+ if Sys.command cmd <> 0 then
+ error (f_"qemu-img c...
2018 Nov 07
2
Re: guestfs_launch() fails when C application is started as a systemd service
....
>
> The log indicates something a bit strange is going on:
>
> > libguestfs: command: run: qemu-img
> > libguestfs: command: run: \ create
> > libguestfs: command: run: \ -f qcow2
> > libguestfs: command: run: \ -o
> > backing_file=/home/peterd/TVE/wer.qcow2,backing_fmt=qcow2
> > libguestfs: command: run: \ /tmp/libguestfsUIZbDK/overlay1.qcow2
> > Formatting '/tmp/libguestfsUIZbDK/overlay1.qcow2', fmt=qcow2
> > size=107374182400 backing_file=/home/peterd/TVE/wer.qcow2
> backing_fmt=qcow2
> > encryption=off cluster_size=65536 lazy...
2015 Jul 27
4
[PATCH] v2v: add --in-place mode
...IRT_TOOLS_DATA_DIR:-/usr/share/virt-tools}
+if ! test -r $virt_tools_data_dir/rhsrvany.exe; then
+ echo "$0: test skipped because rhsrvany.exe is not installed"
+ exit 77
+fi
+
+fo="$guests_dir/windows-overlay.qcow2"
+rm -f $fo
+qemu-img create -f qcow2 -b $f -o compat=1.1,backing_fmt=raw $fo
+md5="$(md5sum $f)"
+
+$VG virt-v2v --debug-gc \
+ -i libvirt -ic "$libvirt_uri" windows-overlay \
+ --in-place
+
+# Test some aspects of the target disk image.
+guestfish --ro -a $fo -i <<EOF
+ is-dir "/Program Files/Red Hat/Firstboot"
+ is-file...
2020 Jul 22
1
回复: 回复: bug report
..."qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw
libguestfs: command: run: \ /tmp/libguestfs8F29Zb/overlay1.qcow2
Formatting '/tmp/libguestfs8F29Zb/overlay1.qcow2', fmt=qcow2 size=4294967296 backing_file='/var/tmp/.guestfs-0/appliance.d/root' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off
libgue...
2012 Jun 06
2
qemu-img snapshots with backing stores?
So, I was attempting to use qemu snapshots with backing stores. The
QEMU docs (http://wiki.qemu.org/Documentation/CreateSnapshot) make it
sound like you simply point your qemu at the snapshot after it's
creation, and you're golden.
When attempting this with libvirt, though, it fails.
I created a snapshot using the above tutorial. the resulting file is
disk.0, and a qmeu-img info on it
2015 Jul 28
0
Re: [PATCH] v2v: add --in-place mode
...s}
> +if ! test -r $virt_tools_data_dir/rhsrvany.exe; then
> + echo "$0: test skipped because rhsrvany.exe is not installed"
> + exit 77
> +fi
> +
> +fo="$guests_dir/windows-overlay.qcow2"
> +rm -f $fo
> +qemu-img create -f qcow2 -b $f -o compat=1.1,backing_fmt=raw $fo
> +md5="$(md5sum $f)"
> +
> +$VG virt-v2v --debug-gc \
> + -i libvirt -ic "$libvirt_uri" windows-overlay \
> + --in-place
> +
> +# Test some aspects of the target disk image.
> +guestfish --ro -a $fo -i <<EOF
> + is-dir "/Prog...
2015 May 19
2
Pivot without copy
Hi,
Is it possible to "pivot" to a new image without doing blockcopy or
blockpull? I know how to use snapshots and blockpull to create a new image
and pivot to using it live, but what I would like to do is to have a VM
switch from using imageA.qcow2 to image2.qcow2 while running. I don't see
why this wouldn't be possible since some of the existing libvirt tools can
do this when
2020 Jan 08
0
Re: bug report
..."backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw"
> libguestfs: command: run: qemu-img
> libguestfs: command: run: \ create
> libguestfs: command: run: \ -f qcow2
> libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw
> libguestfs: command: run: \ /tmp/libguestfsr2XJRP/overlay2.qcow2
> qemu-img: /tmp/libguestfsr2XJRP/overlay2.qcow2: Could not open '/var/tmp/.guestfs-0/appliance.d/root': No such file or directory
> Could not open backing image to determine size.
> libguestfs: error: qemu-i...
2013 May 08
9
blktap2 and qcow2 images
Hi There,
I''ve been trying to get this to work for the last couple of days, but found
no information on the internet that would help. Essentially, a tap-ctl
opencommand with a qcow2 image does not work (error code 2) and
produces the
following line in syslog:
tap-ctl: tap-err:tap_ctl_open: open failed, err -2
I have attached a shell script that reproduces the problem on my machine.
The