apache / apache/cloudstack

UEFI instance snapshot error

Open
#13,547 0 comments 0 reactions 0 assignees View on GitHub
type:technical-debt
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

The problem still exists independent on the version of libvirt. I tried libvirt 11.10.0

The issue is the format of the nvram disk file. I converted it from raw to qcow2 and can now take snapshots with memory of VMs with UEFI.

Here are my changes in the XML config:
**from:**
`/var/lib/libvirt/qemu/nvram/a5b15197-6388-4bc8-a4f4-c446d28fde7c.fd`
**to:**
`/var/lib/libvirt/qemu/nvram/a5b15197-6388-4bc8-a4f4-c446d28fde7c.**qcow2**.fd`

_Originally posted by @ingox in https://github.com/apache/cloudstack/discussions/12427#discussioncomment-17524924_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing a memory snapshot of a UEFI VM using a raw NVRAM disk, then compare it with the reported qcow2 configuration. Trace the CloudStack/libvirt snapshot handling that generates or passes the NVRAM format; done means UEFI memory snapshots work without manual XML changes.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.