mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
* src/xm_internal.c: add minimum domain memory size check for Xen
patch by Shigeki Sakamoto * AUTHORS: add Shigeki Sakamoto Daniel
This commit is contained in:
parent
7b716fce8e
commit
ba2dff372c
1
AUTHORS
1
AUTHORS
@ -53,6 +53,7 @@ Patches have also been contributed by:
|
|||||||
James Morris <jmorris@namei.org>
|
James Morris <jmorris@namei.org>
|
||||||
Chris Wrigh <chrisw@redhat.com>
|
Chris Wrigh <chrisw@redhat.com>
|
||||||
Ben Guthro <bguthro@virtualiron.com>
|
Ben Guthro <bguthro@virtualiron.com>
|
||||||
|
Shigeki Sakamoto <fj0588di@aa.jp.fujitsu.com>
|
||||||
|
|
||||||
|
|
||||||
[....send patches to get your name here....]
|
[....send patches to get your name here....]
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
Fri Oct 31 11:11:30 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* python/Makefile.am python/generator.py python/libvir.c
|
* python/Makefile.am python/generator.py python/libvir.c
|
||||||
|
@ -1273,6 +1273,8 @@ int xenXMDomainSetMemory(virDomainPtr domain, unsigned long memory) {
|
|||||||
return (-1);
|
return (-1);
|
||||||
if (domain->id != -1)
|
if (domain->id != -1)
|
||||||
return (-1);
|
return (-1);
|
||||||
|
if (memory < 1024 * MIN_XEN_GUEST_SIZE)
|
||||||
|
return (-1);
|
||||||
|
|
||||||
if (!(filename = virHashLookup(nameConfigMap, domain->name)))
|
if (!(filename = virHashLookup(nameConfigMap, domain->name)))
|
||||||
return (-1);
|
return (-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user