podman/pkg/machine/qemu
Brent Baude 0dac214f56 basic hypverv machine implementation
with libhvee, we are able to do the basics of podman machine management
on hyperv.  The basic functions like init, rm, stop, and start are all
functional.  Start and stop will periodically throw a benign error
processing the hyperv message being returned from the action.  The error
is described in the todo's below.

notable items:

* no podman commands will work (like ps, images, etc)
* the machine must be initialized with --image-path and fed a custom image.
* disk size is set to 100GB statically.
* the vm joins the default hyperv network which is TCP/IP network based.
* podman machine ssh does not work
* podman machine set does not work
* you can grab the ip address from hyperv and fake a machine connection
  with `podman system connection`.
* when booting, use the hyperv console to know the boot is complete.

TODOs:
* podman machine ssh
* podman machine set
* podman machine rm needs force bool
* disk size in NewMachine is set to 100GB
* podman start needs to wait until fully booted
* establish a boot complete signal from guest
* implement gvproxy like user networking
* fix benign failures in stop/start -> Error: error 2147749890 (FormatMessage failed with: The system cannot find message text for message number 0x%1 in the message file for %2.)

[NO NEW TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
2023-03-17 16:02:28 -05:00
..
claim_darwin.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
claim_unsupported.go Fixes isRootfull check using qemu machine on Windows 2022-08-24 18:17:18 +03:00
config.go Machine refactor for QEMU/AppleHV 2023-02-22 09:00:24 -06:00
config_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
machine.go basic hypverv machine implementation 2023-03-17 16:02:28 -05:00
machine_test.go podman machine: Propagate SSL_CERT_FILE and SSL_CERT_DIR to systemd environment. 2022-11-20 14:14:50 +01:00
machine_unix.go Support for Windows paths in the source position of the volume mounts 2023-01-30 23:33:33 +02:00
machine_unsupported.go bump golangci-lint to v1.49.0 2022-10-17 09:19:41 +02:00
machine_windows.go Support for Windows paths in the source position of the volume mounts 2023-01-30 23:33:33 +02:00
options_darwin.go Fix #11418 - Default TMPDIR to /tmp on OS X 2021-09-04 08:40:57 +02:00
options_darwin_amd64.go Fix warning of unsupported feature on MacOS 2021-09-06 09:55:24 -07:00
options_darwin_arm64.go Resolve symlink path for qemu directory if possible 2023-02-07 08:57:55 -07:00
options_freebsd.go pkg: Build pkg/machine on FreeBSD 2022-08-13 07:53:34 +01:00
options_freebsd_amd64.go pkg: Build pkg/machine on FreeBSD 2022-08-13 07:53:34 +01:00
options_freebsd_arm64.go pkg/machine: Make this build on FreeBSD/arm64 2022-10-31 15:13:49 +00:00
options_linux.go bump go module to version 4 2022-01-18 12:47:07 +01:00
options_linux_amd64.go Add machine support for more Linux distros 2021-03-28 13:35:56 +02:00
options_linux_arm64.go Add machine support for qemu-system-aarch64 2021-03-29 21:53:48 +02:00
options_windows.go Improved Windows compatibility for machine command 2022-08-29 16:53:42 +03:00
options_windows_amd64.go Updated options for QEMU on Windows hosts 2023-01-09 23:58:47 +02:00
options_windows_arm64.go Updated options for QEMU on Windows hosts 2023-01-09 23:58:47 +02:00