blob: 16643dde301fc587f43dab8476206ed797f90d58 [file] [log] [blame]
John Snowbacebde2018-07-02 15:46:30 -04001--- Setting up images ---
2
3Done
4
5--- Launching VM ---
6
7Done
8
9--- Setting up Fleecing Graph ---
10
Max Reitze21b5f32018-10-22 14:53:07 +010011{"return": {}}
12{"return": {}}
John Snowbacebde2018-07-02 15:46:30 -040013
14--- Setting up NBD Export ---
15
Max Reitze21b5f32018-10-22 14:53:07 +010016{"return": {}}
17{"return": {}}
John Snowbacebde2018-07-02 15:46:30 -040018
19--- Sanity Check ---
20
21read -P0x5d 0 64k
22read -P0xd5 1M 64k
23read -P0xdc 32M 64k
24read -P0xcd 0x3ff0000 64k
25read -P0 0x00f8000 32k
26read -P0 0x2010000 32k
27read -P0 0x3fe0000 64k
28
29--- Testing COW ---
30
31write -P0xab 0 64k
Max Reitze21b5f32018-10-22 14:53:07 +010032{"return": ""}
John Snowbacebde2018-07-02 15:46:30 -040033write -P0xad 0x00f8000 64k
Max Reitze21b5f32018-10-22 14:53:07 +010034{"return": ""}
John Snowbacebde2018-07-02 15:46:30 -040035write -P0x1d 0x2008000 64k
Max Reitze21b5f32018-10-22 14:53:07 +010036{"return": ""}
John Snowbacebde2018-07-02 15:46:30 -040037write -P0xea 0x3fe0000 64k
Max Reitze21b5f32018-10-22 14:53:07 +010038{"return": ""}
John Snowbacebde2018-07-02 15:46:30 -040039
40--- Verifying Data ---
41
42read -P0x5d 0 64k
43read -P0xd5 1M 64k
44read -P0xdc 32M 64k
45read -P0xcd 0x3ff0000 64k
46read -P0 0x00f8000 32k
47read -P0 0x2010000 32k
48read -P0 0x3fe0000 64k
49
50--- Cleanup ---
51
Max Reitze21b5f32018-10-22 14:53:07 +010052{"return": {}}
53{"data": {"device": "drive0", "len": 67108864, "offset": 393216, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_CANCELLED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
54{"return": {}}
55{"return": {}}
John Snowbacebde2018-07-02 15:46:30 -040056
57--- Confirming writes ---
58
59read -P0xab 0 64k
60read -P0xad 0x00f8000 64k
61read -P0x1d 0x2008000 64k
62read -P0xea 0x3fe0000 64k
63read -P0xd5 0x108000 32k
64read -P0xdc 32M 32k
65read -P0xcd 0x3ff0000 64k
66
67Done