diff --git a/internal/osbuild/qemu_assembler.go b/internal/osbuild/qemu_assembler.go index c245c1431..95b9807b5 100644 --- a/internal/osbuild/qemu_assembler.go +++ b/internal/osbuild/qemu_assembler.go @@ -9,6 +9,7 @@ import "github.com/google/uuid" // containing the indicated partitions. Finally, the image is converted into // the target format and stored with the given filename. type QEMUAssemblerOptions struct { + Bootloader *QEMUBootloader `json:"bootloader,omitempty"` Format string `json:"format"` Filename string `json:"filename"` Size uint64 `json:"size"` @@ -33,6 +34,11 @@ type QEMUFilesystem struct { Mountpoint string `json:"mountpoint"` } +type QEMUBootloader struct { + Type string `json:"type"` + Platform string `json:"platform"` +} + func (QEMUAssemblerOptions) isAssemblerOptions() {} // NewQEMUAssembler creates a new QEMU Assembler object.