Skip to content

Commit

Permalink
docs: regenerate partials
Browse files Browse the repository at this point in the history
Since the doc changes for the accelerator on the builder, we should add
the newer, versioned docs to the repository in order for the upstream
docs to be updated as well.
  • Loading branch information
lbajolet-hashicorp committed Oct 5, 2023
1 parent 87870f2 commit 75955ef
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
14 changes: 9 additions & 5 deletions .web-docs/components/builder/qemu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,16 @@ necessary for this build to succeed and can be found further down the page.
add [ "-global", "virtio-pci.disable-modern=on" ] to `qemuargs` depending on the
guest operating system.

~> For `whpx`, note that [Stefan Weil's QEMU for Windows distribution](https://qemu.weilnetz.de/w64/)
does not include WHPX support and users may need to compile or source a
build of QEMU for Windows themselves with WHPX support.

NOTE: HAXM is discontinued, and as of Qemu 8.0, the option is deprecated,
~> HAXM is discontinued, and as of Qemu 8.0, the option is deprecated,
please consider using another accelerator.

-> As an alternative to setting `accelerator`, you can set the `machine` and `accel` args
directly using `qemuargs`. For example, to try potential accelerators in order, you could
use the following:
```hcl
qemuargs = [
["-machine", "type=q35,accel=hvf:kvm:whpx:tcg"],
]
- `disk_additional_size` ([]string) - Additional disks to create. Uses `vm_name` as the disk name template and
appends `-#` where `#` is the position in the array. `#` starts at 1 since 0
Expand Down
14 changes: 9 additions & 5 deletions docs-partials/builder/qemu/Config-not-required.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
add [ "-global", "virtio-pci.disable-modern=on" ] to `qemuargs` depending on the
guest operating system.

~> For `whpx`, note that [Stefan Weil's QEMU for Windows distribution](https://qemu.weilnetz.de/w64/)
does not include WHPX support and users may need to compile or source a
build of QEMU for Windows themselves with WHPX support.

NOTE: HAXM is discontinued, and as of Qemu 8.0, the option is deprecated,
~> HAXM is discontinued, and as of Qemu 8.0, the option is deprecated,
please consider using another accelerator.

-> As an alternative to setting `accelerator`, you can set the `machine` and `accel` args
directly using `qemuargs`. For example, to try potential accelerators in order, you could
use the following:
```hcl
qemuargs = [
["-machine", "type=q35,accel=hvf:kvm:whpx:tcg"],
]

- `disk_additional_size` ([]string) - Additional disks to create. Uses `vm_name` as the disk name template and
appends `-#` where `#` is the position in the array. `#` starts at 1 since 0
Expand Down

0 comments on commit 75955ef

Please sign in to comment.