blob: 4b5be134d7cff3968993631b261fac598a0c22c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
qga return "frozen" when vm just been created from snapfile
Steps to reproduce:
1. virsh create lisa.xml
Domain lisa created from lisa.xml
2. virsh domblklist lisa
vda /mnt/a/b/srv.qcow2
3. virsh snapshot-create-as lisa --disk-only --diskspec vda,file=/tmp/f1,snapfile=/tmp/sp1 --no-metadata --quiesce
Domain snapshot 20220919165217 created
4. virsh shutdown lisa
Domain lisa is being shutdown
5. modify lisa.xml: replace /mnt/a/b/srv/qcow2 with /tmp/sp1
6. virsh create lisa.xml
Domain lisa created from lisa.xml
7. virsh domblklist lisa
vda /tmp/sp1
8. virsh qemu-agent-command lisa '{"execute":"guest-fsfreeze-status"}'
{"return":"frozen"}
9. virsh snapshot-create-as lisa --disk-only --diskspec vda,file=/tmp/f2,snapfile=/tmp/sp2 --no-metadata --quiesce
error: internal error: unable to execute QEMU agent command 'guest-fsfreeze-freeze': The command guest-fsfreeze-freeze has been disabled for this instance
Additional information:
Is "frozen" a normal value in step8? If not, what's the best way to avoid this?
|