Skip to content

Snapshot restore fails on Intel hosts when intr_shadow is set #1013

@glitzflitz

Description

@glitzflitz

VM snapshot restore fails on Intel hosts with:

$ pfexec ./propolis-standalone --restore arch-1767964216637.tar
Jan 09 13:12:41.257 INFO restoring snapshot of VM from arch-1767964216637.tar
Jan 09 13:12:41.258 INFO Creating VM with 4 vCPUs, 3221225472 lowmem, 1073741824 highmem
Jan 09 13:12:42.571 INFO VM created, name: arch
Jan 09 13:12:42.593 INFO Bootorder declared as Some(["block0", "net0"])
Jan 09 13:12:42.593 INFO Generating E820 map for guest address space
Error: Failed to restore device state for bhyve-vcpu-0

Caused by:
    0: IO Error
    1: Invalid argument (os error 22)
    1: Invalid argument (os error 22)

This occurs when the source vCPU was in an interrupt shadow state (intr_shadow: true) at snapshot time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions