From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Fri, 1 Feb 2008 20:50:02 +0000 (+0000) Subject: Fix automatic memory assignment. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=c9a5484137679f73da4d6ddff80bee05d815b3fb;p=virt-p2v.git Fix automatic memory assignment. --- 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