summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1753186
blob: 166848b85953f5ae3ffd13ab65c8713b0fac5959 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
qemu-nbd: always first snapshot loaded from VDI images with snapshots

When mounting a virtual box disk image of a VM with snapshots, always the state of the first snapshot is shown.

How to reproduce:
1. Create a new VirtualBox VM or use an existing one, while choosing VDI as the disk image format.
2. Create a snapshot of the VM.
3. Modify the file system from within the VM enough that differences to the snapshotted version are apparent.
4. Create another snapshot.
5. Shut down the VM.
6. Mount the partition from the disk image with `qemu-nbd -c /dev/nbd0 /path/to/disk.vdi; mount /dev/nbd0pX /mnt`

Expected result: The mounted disk image shall represent the latest state of the VM
Actual result: The mounted disk image represents the VM state at the first snapshot

version information: qemu-nbd-2.11.1(openSUSE Tumbleweed)