spiegel_podman/pkg/machine
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
..
applehv basic hypverv machine implementation 2023-03-17 16:02:28 -05:00
e2e Machine refactor for QEMU/AppleHV 2023-02-22 09:00:24 -06:00
hyperv basic hypverv machine implementation 2023-03-17 16:02:28 -05:00
os Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
qemu basic hypverv machine implementation 2023-03-17 16:02:28 -05:00
wsl basic hypverv machine implementation 2023-03-17 16:02:28 -05:00
config.go basic hypverv machine implementation 2023-03-17 16:02:28 -05:00
config_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
connection.go podman machine ssh handling 2022-09-26 18:35:01 -04:00
fcos.go basic hypverv machine implementation 2023-03-17 16:02:28 -05:00
fcos_test.go Machine refactor for QEMU/AppleHV 2023-02-22 09:00:24 -06:00
fedora_unix.go WSL refactoring 2023-01-23 10:48:32 -06:00
fedora_windows.go WSL refactoring 2023-01-23 10:48:32 -06:00
ignition.go basic hypverv machine implementation 2023-03-17 16:02:28 -05:00
ignition_darwin.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_freebsd.go pkg: Build pkg/machine on FreeBSD 2022-08-13 07:53:34 +01:00
ignition_linux.go fix #17244: use /etc/timezone where timedatectl is missing on Linux 2023-01-30 00:36:37 +09:00
ignition_schema.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_windows.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
keys.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
machine_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
machine_windows.go Expose Podman named pipe in Inspect output 2023-02-03 00:05:28 +02:00
pull.go basic hypverv machine implementation 2023-03-17 16:02:28 -05:00