提交 ba2dff37 编写于 作者: D Daniel Veillard

* src/xm_internal.c: add minimum domain memory size check for Xen

  patch by Shigeki Sakamoto
* AUTHORS: add Shigeki Sakamoto
Daniel
上级 7b716fce
......@@ -53,6 +53,7 @@ Patches have also been contributed by:
James Morris <jmorris@namei.org>
Chris Wrigh <chrisw@redhat.com>
Ben Guthro <bguthro@virtualiron.com>
Shigeki Sakamoto <fj0588di@aa.jp.fujitsu.com>
[....send patches to get your name here....]
......
Fri Oct 31 14:04:52 CET 2008 Daniel Veillard <veillard@redhat.com>
* src/xm_internal.c: add minimum domain memory size check for Xen
patch by Shigeki Sakamoto
* AUTHORS: add Shigeki Sakamoto
Fri Oct 31 11:11:30 CET 2008 Daniel Veillard <veillard@redhat.com>
* python/Makefile.am python/generator.py python/libvir.c
......
......@@ -1273,6 +1273,8 @@ int xenXMDomainSetMemory(virDomainPtr domain, unsigned long memory) {
return (-1);
if (domain->id != -1)
return (-1);
if (memory < 1024 * MIN_XEN_GUEST_SIZE)
return (-1);
if (!(filename = virHashLookup(nameConfigMap, domain->name)))
return (-1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册