From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Li Yechen <lccycc123@gmail.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [ help! ] tools/libxl/libxl.c is of no use?
Date: Mon, 5 Aug 2013 09:44:25 +0100 [thread overview]
Message-ID: <51FF65E9.6090301@citrix.com> (raw)
In-Reply-To: <CAP5+zHS+cWioLQ8tZ=KjUqA2ZhUFaryAvU+sujv7WUyJsxUkhg@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1393 bytes --]
On 05/08/13 01:15, Li Yechen wrote:
> my xen version is 4.2.1
> not matter how I modify the function : libxl_set_memory_target
> in libxl.c, ie: add return 0, or assert ...
> the xl command behaves the same.
>
>
> an example is:
> run a guest domain, and use command: xl mem-set GUESTID 33333333
> then it will output an error as: libxl: error:
> libxl.c:3455:libxl_set_memory_target: memory_dynamic_max must be less
> than or equal to memory_static_max
>
> this error message is in tools/libxl/libxl.c, near LINE 3428, in the
> if (new_target_memkb > memorykb){LIBXL__LOG.}
>
> change the message to any characters, recompile and install xen, reboot
> xl mem-set GUESTID 33333333, the original message come out again!
>
> I have been trapped in this for ten hours. Has anyone ever modified
> the libxl.c successfully?
>
libxl.c forms part of libxenlight.so.$VERSION, so unless you are
reinstalling your librarys rather than just reinstalling `xl`, you
really wont see any difference.
~Andrew
>
>
> --
> Yechen Li
>
> Team of System Virtualization and Cloud Computing
> School of Electronic Engineering and Computer Science,
> Peking University, China
>
> Nothing is impossible because impossible itself says: " I'm possible "
> lccycc From PKU
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 3787 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2013-08-05 8:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-05 0:15 [ help! ] tools/libxl/libxl.c is of no use? Li Yechen
2013-08-05 0:39 ` Wei Liu
2013-08-05 8:44 ` Andrew Cooper [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51FF65E9.6090301@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=lccycc123@gmail.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.