Hi all:
       I encountered a troublesome problem about OVMF.
       I used OVMF.fd as a BIOS of virtual machine(VM).

       1、my environment:
       xen_version            : 4.6-unstable
       I git clone xen from git://xenbits.xen.org/xen.git. configure it and 
parameters as below:
       ./configure --prefix=/usr/ --libdir=/usr/lib/  --enable-ovmf then make 
&& make install, after that I reboot my host OS(suse11sp3).

        There is a same problem in KVM too.

       2、problem:
       I started a VM whose memory is 64G in the host.
       The size of memory inside of the VM is wrong while it is OK when I check 
it in the host using "xl list".
       But, when I changed the memory to 63G,it was both OK.
       (1)64G memory
       inside of VM using "free" to check:
                    total       used       free     shared    buffers     cached
       Mem:       3715640     495916    3219724          0      22060     175136
       -/+ buffers/cache:     298720    3416920
       Swap:      4046840          0    4046840
       It is only 3.5G.

       in the host using "xl list" to check:
       Name                                        ID   Mem VCPUs      State   
Time(s)
       Domain-0                                     0  3055    16     r-----    
 861.2
       redhat                                       4 65536     2     r-----    
   5.9

       (2)63G memory
       inside of VM using "free" to check:
                    total       used       free     shared    buffers     cached
       Mem:      64918224    1083912   63834312          0      22188     175344
       -/+ buffers/cache:     886380   64031844
       Swap:      4046840          0    4046840
       It is OK.

       in the host using "xl list" to check:
       Name                                        ID   Mem VCPUs      State   
Time(s)
       Domain-0                                     0  3055    16     r-----    
 821.2
       redhat                                       3 64512     2     -b----    
  48.5

       3、my cfg file:
       builder = "hvm"
       name = "redhat"
       memory = 65536
       maxmem = 65536
       vcpus = 2
       bios = "ovmf"
       boot = "dc"
       sdl=0
       disk = [ 'file:/test/image/redhat6_3.img,xvda,w' ]
       vnc = 1
       vnclisten = '9.61.1.31'
       vncdisplay = 0

       Any thought on this?
       Any help will be appreciated.
       If you need some other information, please let me know. :)

       Thanks!
         -mao
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to