spiegel_podman/cmd/podman/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
..
os Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
info.go basic hypverv machine implementation 2023-03-17 16:02:28 -05:00
init.go Remove references to qcow2 2022-12-25 10:49:47 -06:00
inspect.go podman machine inspect: use report.Formatter over Template 2022-09-13 10:33:13 +02:00
list.go Unify --noheading and -n to be consistent on all commands 2022-12-19 13:18:43 -05:00
machine.go Podman machine info 2022-07-05 15:18:41 -04:00
machine_unix.go Fix podman machine on Windows 2022-06-30 16:21:59 -05:00
machine_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
machine_windows.go Fix podman machine on Windows 2022-06-30 16:21:59 -05:00
os.go Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
platform.go machine refactoring preparations for hyperv 2023-02-20 13:43:49 -06:00
platform_windows.go basic hypverv machine implementation 2023-03-17 16:02:28 -05:00
rm.go fix: update the default machine value when the previously set default machine is deleted 2023-03-02 11:06:56 +05:30
set.go Only allow Rootless runs of Podman Machine 2022-06-29 09:19:09 -04:00
ssh.go podman machine ssh handling 2022-09-26 18:35:01 -04:00
start.go Add --quiet and --no-info flags to podman machine start 2022-11-11 16:14:20 -05:00
stop.go Only allow Rootless runs of Podman Machine 2022-06-29 09:19:09 -04:00