From c9a5484137679f73da4d6ddff80bee05d815b3fb Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Fix automatic memory assignment. --- virt-p2v.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virt-p2v.ml b/virt-p2v.ml index 7801a21..a6ff2f0 100755 --- a/virt-p2v.ml +++ b/virt-p2v.ml @@ -1078,8 +1078,8 @@ MAC address: %s" | Some arch -> arch in let memory = match state.memory with - | Some memory -> memory - | None -> system_memory in + | Some 0 | None -> system_memory + | Some memory -> memory in let vcpus = match state.vcpus with | Some 0 | None -> system_nr_cpus -- 1.8.3.1