Skip to content

Commit

Permalink
#13 include pflash devices (bios) by default
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Feb 14, 2024
1 parent ddad56e commit 8e28be7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libqmpbackup/vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ def get_block_devices(blockinfo, argv, excluded_disks, included_disks):

inserted = device["inserted"]
base_filename = os.path.basename(inserted["image"]["filename"])
if inserted["drv"] == "raw" and not argv.include_raw:
if (
inserted["drv"] == "raw"
and not argv.include_raw
and not device["device"].startswith("pflash")
):
log.warning(
"Excluding device with raw format from backup: [%s:%s]",
device["device"],
Expand Down

0 comments on commit 8e28be7

Please sign in to comment.