mirror of
https://github.com/containers/podman.git
synced 2025-06-21 17:38:12 +08:00
Merge pull request #14844 from shanesmith/fix-qemu-machine-gvproxy-always-fails
Fix qemu machine startHostNetworking always failing
This commit is contained in:
@ -1217,7 +1217,10 @@ func (v *MachineVM) startHostNetworking() (string, apiForwardingState, error) {
|
|||||||
fmt.Println(cmd)
|
fmt.Println(cmd)
|
||||||
}
|
}
|
||||||
_, err = os.StartProcess(cmd[0], cmd, attr)
|
_, err = os.StartProcess(cmd[0], cmd, attr)
|
||||||
return forwardSock, state, fmt.Errorf("unable to execute: %q: %w", cmd, err)
|
if err != nil {
|
||||||
|
return "", 0, fmt.Errorf("unable to execute: %q: %w", cmd, err)
|
||||||
|
}
|
||||||
|
return forwardSock, state, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v *MachineVM) setupAPIForwarding(cmd []string) ([]string, string, apiForwardingState) {
|
func (v *MachineVM) setupAPIForwarding(cmd []string) ([]string, string, apiForwardingState) {
|
||||||
|
Reference in New Issue
Block a user