Good day. I found that maxmem does not work. I test this at least with four differnent xen/kernels (XCP 0.5, xen 3.2 xen 4 and freshest xen 4.1 from repo with linux-2.6.32-5 (compiled by xen makefile)). Simple vm: kernel="/boot/vmlinuz-2.6.32.17" ramdisk="/boot/initrd.img-2.6.32.17" builder=''linux'' memory = 512 maxmem = 1024 name = "vm1" vif = [ ''bridge=xenbr1'' ] disk = [ ''phy:vm/vm1,xvda1,w'' ] root = "/dev/xvda1 ro" extra = "console=hvc0" xm create vm1 xm set-mem 300 - ok, work xm set-mem 720 - no, memory is 512 ONLY. Is this bug or my error? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Aug 12, 2010 at 10:31 PM, George Shuklin <george.shuklin@gmail.com> wrote:> I found that maxmem does not work. I test this at least with four > differnent xen/kernels (XCP 0.5, xen 3.2 xen 4 and freshest xen 4.1 from > repo with linux-2.6.32-5 (compiled by xen makefile)). > > Simple vm: > kernel="/boot/vmlinuz-2.6.32.17" > ramdisk="/boot/initrd.img-2.6.32.17" > builder=''linux'' > memory = 512 > maxmem = 1024 > name = "vm1" > vif = [ ''bridge=xenbr1'' ] > disk = [ ''phy:vm/vm1,xvda1,w'' ] > root = "/dev/xvda1 ro" > extra = "console=hvc0" > > xm create vm1 > > xm set-mem 300 - ok, work > xm set-mem 720 - no, memory is 512 ONLY. > > Is this bug or my error?You should ask on xen-devel. Last time I tested, Ubuntu Lucid''s kernel does not support it either when running as domU. I do know that with regards to mem and maxmem: - RHEL''s kernel-xen works - kernel 2.6.34 + patch from http://code.google.com/p/gentoo-xen-kernel/downloads/list works -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thank you! They both works fine. Thank you again. В Птн, 13/08/2010 в 07:25 +0700, Fajar A. Nugraha пишет:> On Thu, Aug 12, 2010 at 10:31 PM, George Shuklin > <george.shuklin@gmail.com> wrote: > > I found that maxmem does not work. I test this at least with four > > differnent xen/kernels (XCP 0.5, xen 3.2 xen 4 and freshest xen 4.1 from > > repo with linux-2.6.32-5 (compiled by xen makefile)). > > > > Simple vm: > > kernel="/boot/vmlinuz-2.6.32.17" > > ramdisk="/boot/initrd.img-2.6.32.17" > > builder=''linux'' > > memory = 512 > > maxmem = 1024 > > name = "vm1" > > vif = [ ''bridge=xenbr1'' ] > > disk = [ ''phy:vm/vm1,xvda1,w'' ] > > root = "/dev/xvda1 ro" > > extra = "console=hvc0" > > > > xm create vm1 > > > > xm set-mem 300 - ok, work > > xm set-mem 720 - no, memory is 512 ONLY. > > > > Is this bug or my error? > > You should ask on xen-devel. > Last time I tested, Ubuntu Lucid''s kernel does not support it either > when running as domU. I do know that with regards to mem and maxmem: > - RHEL''s kernel-xen works > - kernel 2.6.34 + patch from > http://code.google.com/p/gentoo-xen-kernel/downloads/list works >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users