git.annexia.org
/
virt-p2v.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2155961
)
Fix automatic memory assignment.
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 1 Feb 2008 20:50:02 +0000
(20:50 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 1 Feb 2008 20:50:02 +0000
(20:50 +0000)
virt-p2v.ml
patch
|
blob
|
history
diff --git
a/virt-p2v.ml
b/virt-p2v.ml
index
7801a21
..
a6ff2f0
100755
(executable)
--- 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