diff --git a/builder/qemu/builder.go b/builder/qemu/builder.go index 796f90b4c..90969f38c 100644 --- a/builder/qemu/builder.go +++ b/builder/qemu/builder.go @@ -96,35 +96,35 @@ type Config struct { Comm communicator.Config `mapstructure:",squash"` common.FloppyConfig `mapstructure:",squash"` - ISOSkipCache bool `mapstructure:"iso_skip_cache"` - Accelerator string `mapstructure:"accelerator"` - CpuCount int `mapstructure:"cpus"` - AdditionalDiskSize []string `mapstructure:"disk_additional_size"` - DiskInterface string `mapstructure:"disk_interface"` - DiskSize uint `mapstructure:"disk_size"` - DiskCache string `mapstructure:"disk_cache"` - DiskDiscard string `mapstructure:"disk_discard"` - DetectZeroes string `mapstructure:"disk_detect_zeroes"` - SkipCompaction bool `mapstructure:"skip_compaction"` - DiskCompression bool `mapstructure:"disk_compression"` - Format string `mapstructure:"format"` - Headless bool `mapstructure:"headless"` - DiskImage bool `mapstructure:"disk_image"` - UseBackingFile bool `mapstructure:"use_backing_file"` - MachineType string `mapstructure:"machine_type"` - MemorySize int `mapstructure:"memory"` - NetDevice string `mapstructure:"net_device"` - OutputDir string `mapstructure:"output_directory"` - QemuArgs [][]string `mapstructure:"qemuargs"` - QemuBinary string `mapstructure:"qemu_binary"` - ShutdownCommand string `mapstructure:"shutdown_command"` - SSHHostPortMin int `mapstructure:"ssh_host_port_min"` - SSHHostPortMax int `mapstructure:"ssh_host_port_max"` - UseDefaultDisplay bool `mapstructure:"use_default_display"` - VNCBindAddress string `mapstructure:"vnc_bind_address"` - VNCPortMin int `mapstructure:"vnc_port_min"` - VNCPortMax int `mapstructure:"vnc_port_max"` - VMName string `mapstructure:"vm_name"` + ISOSkipCache bool `mapstructure:"iso_skip_cache"` + Accelerator string `mapstructure:"accelerator"` + CpuCount int `mapstructure:"cpus"` + AdditionalDiskSize []string `mapstructure:"disk_additional_size"` + DiskInterface string `mapstructure:"disk_interface"` + DiskSize uint `mapstructure:"disk_size"` + DiskCache string `mapstructure:"disk_cache"` + DiskDiscard string `mapstructure:"disk_discard"` + DetectZeroes string `mapstructure:"disk_detect_zeroes"` + SkipCompaction bool `mapstructure:"skip_compaction"` + DiskCompression bool `mapstructure:"disk_compression"` + Format string `mapstructure:"format"` + Headless bool `mapstructure:"headless"` + DiskImage bool `mapstructure:"disk_image"` + UseBackingFile bool `mapstructure:"use_backing_file"` + MachineType string `mapstructure:"machine_type"` + MemorySize int `mapstructure:"memory"` + NetDevice string `mapstructure:"net_device"` + OutputDir string `mapstructure:"output_directory"` + QemuArgs [][]string `mapstructure:"qemuargs"` + QemuBinary string `mapstructure:"qemu_binary"` + ShutdownCommand string `mapstructure:"shutdown_command"` + SSHHostPortMin int `mapstructure:"ssh_host_port_min"` + SSHHostPortMax int `mapstructure:"ssh_host_port_max"` + UseDefaultDisplay bool `mapstructure:"use_default_display"` + VNCBindAddress string `mapstructure:"vnc_bind_address"` + VNCPortMin int `mapstructure:"vnc_port_min"` + VNCPortMax int `mapstructure:"vnc_port_max"` + VMName string `mapstructure:"vm_name"` // These are deprecated, but we keep them around for BC // TODO(@mitchellh): remove