machine: Fix cid passed to machine_add_from_params()

The default value is VMADDR_CID_ANY, not zero.
This commit is contained in:
Daan De Meyer
2026-02-19 10:16:37 +01:00
committed by Daan De Meyer
parent 1e6854e112
commit b6bdd540f9

View File

@@ -480,7 +480,7 @@ static int method_create_or_register_machine(
root_directory,
netif,
n_netif,
/* cid= */ 0,
/* cid= */ VMADDR_CID_ANY,
/* ssh_address= */ NULL,
/* ssh_private_key_path= */ NULL,
ret,