[Xen-devel] [PATCH 0/9] xl: convert exit codes related to domain subcommands to EXIT_[SUCCESS|FAILURE]

2016-02-24 Thread Harmandeep Kaur
cmdimpl.c related to domain subcommands are changed. *This series perceds the following series: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02990.html Signed-off-by: Harmandeep Kaur --- ___ Xen-devel mailing list Xen-deve

[Xen-devel] [PATCH 9/9] xl: Improve return codes of main_domid(), main_domname() and main_sysrq() and related functions.

2016-02-24 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 9e0a467..234977c 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -6320,12

[Xen-devel] [PATCH 4/9] xl: Improve return and exit codes of main_console(), main_vncviewer() and main_dump_core().

2016-02-24 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 2092c80..e1b4286 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -3421,7

[Xen-devel] [PATCH 1/9] xl: Improve return and exit codes of memory related functions.

2016-02-24 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 116363d..8f5a2f4 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -172,7

[Xen-devel] [PATCH 7/9] xl: Improve return and exit codes of main_create(), main_config_update(), main_sharing(), main_rename() and related functions.

2016-02-24 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 9d95b50..f7f7d7f 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools

[Xen-devel] [PATCH 5/9] xl: Improve return and exit codes of main_pause(), main_unpause(), main_destroy() and main_shutdown_or_reboot() related functions.

2016-02-24 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index e1b4286..b4920ff 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl

[Xen-devel] [PATCH 3/9] xl: Improve return and exit codes of migrate related functions.

2016-02-24 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 56 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index e5bb41f..2092c80 100644 --- a/tools/libxl/xl_cmdimpl.c

[Xen-devel] [PATCH 6/9] xl: Improve return and exit codes of main_list() and main_vm_list() related functions.

2016-02-24 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index b4920ff..9d95b50 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c

[Xen-devel] [PATCH 2/9] xl: Improve return and exit codes of restore and save related functions.

2016-02-24 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 8f5a2f4..e5bb41f 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools

[Xen-devel] [PATCH 8/9] xl: Improve return and exit codes main_button_press(), main_trigger(), main_remus() and related functions.

2016-02-24 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index f7f7d7f..9e0a467 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c

Re: [Xen-devel] [PATCH v4] libxl: handle failure of xc_version() in libxl_get_version_info()

2016-03-01 Thread Harmandeep Kaur
On Tue, Mar 1, 2016 at 7:18 PM, Ian Jackson wrote: > Harmandeep Kaur writes ("[PATCH v4] libxl: handle failure of xc_version() in > libxl_get_version_info()"): >> Check the return value of xc_version() and return NULL if it >> fails. libxl_get_version_inf

[Xen-devel] [PATCH v5] libxl: handle failure of xc_version() in libxl_get_version_info()

2016-03-02 Thread Harmandeep Kaur
updated. Callers of the function libxl_get_version_info() are already prepared to deal with a NULL return value. Coverity ID 1351217 Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli --- v2: Change local variable rc to r. Removes xen_version. Better readiblity of blocks of code

[Xen-devel] [PATCH 4/9 v2] xl: Improve return and exit codes of console, vnc and core dump related functions.

2016-03-08 Thread Harmandeep Kaur
autoconnect_vncviewer(), main_console(), main_vncviewer(), core_dump_domain() and main_dump_core() in the file xl_cmdimpl are fixed. Signed-off-by: Harmandeep Kaur --- v2: Add autoconnect_vncviewer(). --- tools/libxl/xl_cmdimpl.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions

[Xen-devel] [PATCH 2/9 v2] xl: Improve return and exit codes of restore and save related functions.

2016-03-08 Thread Harmandeep Kaur
save_domain(), main_restore(), main_save() and main_remus() in the file xl_cmdimpl are fixed. Signed-off-by: Harmandeep Kaur --- v2: Add main_remus(). Remove create_domain(). --- tools/libxl/xl_cmdimpl.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff

[Xen-devel] [PATCH 3/9 v2] xl: Improve return and exit codes of migrate related functions.

2016-03-08 Thread Harmandeep Kaur
: Harmandeep Kaur --- v2: Add CHK_SYSCALL, MUST micros. Add xvasprintf(). --- tools/libxl/xl_cmdimpl.c | 58 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 690eb91..9ec3b2a

[Xen-devel] [PATCH 1/9 v2] xl: Improve return and exit codes of memory related functions.

2016-03-08 Thread Harmandeep Kaur
Return and exit codes of freemem(), set_memory_max(), main_memmax(), set_memory_target(), main_memset() and main_sharing() in the file xl_cmdimpl are fixed. Add comment to explain return vaule of parse_mem_size_kb(). Signed-off-by: Harmandeep Kaur --- v2: Add comment to explain return vaule of

[Xen-devel] [PATCH 0/9 v2] xl: convert exit codes related to domain subcommands to EXIT_[SUCCESS|FAILURE]

2016-03-08 Thread Harmandeep Kaur
*main_foo() is treated somewhat as a regular main(), it is changed to return EXIT_SUCCESS or EXIT_FAILURE. *Functions that are not main_foo(), are changed to do 'return 0' or 'return 1', and then 0/1 is taken care in the main_foo() functions that calls them. *Functions in xl_cmdimpl.c related to

[Xen-devel] [PATCH 8/9 v2] xl : Improve return and exit codes debugging, special keys and triggering related functions.

2016-03-08 Thread Harmandeep Kaur
button_press(), main_trigger(), main_sysrq(), main_debug_keys() and main_dmesg() are fixed. Signed-off-by: Harmandeep Kaur --- v2: Add main_sysrq(), main_debug_keys(), main_dmesg() Remove xvasprintf(), main_remus() --- tools/libxl/xl_cmdimpl.c | 16 1 file changed, 8

[Xen-devel] [PATCH 9/9 v2] xl: Improve return and exit codes of domain id and name related functions.

2016-03-08 Thread Harmandeep Kaur
find_domain(), main_domid() and main_domname() are fixed. Signed-off-by: Harmandeep Kaur --- v2: Add find_domain(). --- tools/libxl/xl_cmdimpl.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 4b2ae68

[Xen-devel] [PATCH 7/9 v2] xl: Improve return and exit codes of create, config_update and rename related functions.

2016-03-08 Thread Harmandeep Kaur
create_domain(), string_realloc_append(), main_create(), main_config_update() and main_rename() are fixed. Signed-off-by: Harmandeep Kaur --- v2: Add create_domain() Remove main_sharing() --- tools/libxl/xl_cmdimpl.c | 54 1 file changed, 27

[Xen-devel] [PATCH 5/9 v2] xl: Improve return and exit codes of pause, destroy and shutdown related functions.

2016-03-08 Thread Harmandeep Kaur
destroy_domain(), wait_for_domain_deaths(), shutdown_domain(), reboot_domain(), main_pause(), main_unpause(), main_destroy() and main_shutdown_or_reboot() are fixed. Signed-off-by: Harmandeep Kaur --- v2: No changes. --- tools/libxl/xl_cmdimpl.c | 26 +- 1 file changed

[Xen-devel] [PATCH 6/9 v2] xl: Improve return and exit codes of list related functions.

2016-03-08 Thread Harmandeep Kaur
flush_stream(), list_domains(), list_vm(), main_list() and main_vm_list() are fixed. Signed-off-by: Harmandeep Kaur --- v2: No changes. --- tools/libxl/xl_cmdimpl.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Harmandeep Kaur
rted? In which case I'd be interested in you >> confirming that these come up fine. >> Maybe I failed to shutdown a guest which was showing up on next boot. But there are no auto-starting guests. Following link goes to latest serial log http://paste2.org/5PDz9bP1 and then I created

Re: [Xen-devel] Error booting Xen

2016-02-03 Thread Harmandeep Kaur
On Wed, Feb 3, 2016 at 6:25 PM, Dario Faggioli wrote: > On Wed, 2016-02-03 at 17:05 +0530, Harmandeep Kaur wrote: >> On Wed, Feb 3, 2016 at 1:53 PM, Dario Faggioli >> wrote: >> > >> Maybe I failed to shutdown a guest which was showing up >> on next boot. B

[Xen-devel] [PATCH] libxc: Fix CID 1351225 resource leak

2016-02-10 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxc/xc_offline_page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxc/xc_offline_page.c b/tools/libxc/xc_offline_page.c index bc91d51..3248a34 100644 --- a/tools/libxc/xc_offline_page.c +++ b/tools/libxc/xc_offline_page.c

[Xen-devel] [PATCH] libxc: Fix CID 1351228 resource leak

2016-02-10 Thread Harmandeep Kaur
Signed-off-by: Harmandeep Kaur --- tools/libxc/xc_tbuf.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/libxc/xc_tbuf.c b/tools/libxc/xc_tbuf.c index 695939a..f06f566 100644 --- a/tools/libxc/xc_tbuf.c +++ b/tools/libxc/xc_tbuf.c @@ -70,9 +70,13 @@ int xc_tbuf_get_size

[Xen-devel] [PATCH v2] libxc: fix leak in xc_offline_page error path

2016-02-10 Thread Harmandeep Kaur
Avoid leaking the mapping of the m2p in one of the possible failure cases. Coverity CID 1351225 Signed-off-by: Harmandeep Kaur --- v2: update commit message and changelog --- tools/libxc/xc_offline_page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxc

[Xen-devel] [PATCH] libxl: fix handling returns in libxl_get_version_info()

2016-02-11 Thread Harmandeep Kaur
Avoid handling issue of the return value of xc_version() in many cases. Coverity ID 1351217 Signed-off-by: Harmandeep Kaur --- tools/libxl/libxl.c | 39 ++- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/tools/libxl/libxl.c b/tools/libxl

[Xen-devel] [PATCH v2] libxc: fix leak of t_info in xc_tbuf_get_size()

2016-02-11 Thread Harmandeep Kaur
Avoid leaking the memory mapping of the trace buffer Coverity ID 1351228 Signed-off-by: Harmandeep Kaur --- v2: call to unmapping function reduced to one from two --- tools/libxc/xc_tbuf.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/libxc/xc_tbuf.c b/tools

Re: [Xen-devel] [PATCH] libxl: fix handling returns in libxl_get_version_info()

2016-02-12 Thread Harmandeep Kaur
On Thu, Feb 11, 2016 at 3:18 PM, Dario Faggioli wrote: > Hi Harmandeep, > > So, I think the code in this patch is ok. Still, a few comments... > > On Thu, 2016-02-11 at 14:00 +0530, Harmandeep Kaur wrote: >> Avoid handling issue of the return value of xc_version() in many &g

Re: [Xen-devel] [PATCH] libxl: fix handling returns in libxl_get_version_info()

2016-02-12 Thread Harmandeep Kaur
On Fri, Feb 12, 2016 at 4:30 PM, Dario Faggioli wrote: > On Fri, 2016-02-12 at 16:22 +0530, Harmandeep Kaur wrote: >> On Thu, Feb 11, 2016 at 3:18 PM, Dario Faggioli >> wrote: >> > >> > Another thing that you should check, and probably quickly mention >> &g

[Xen-devel] [PATCH v3] libxc: fix leak of t_info in xc_tbuf_get_size()

2016-02-12 Thread Harmandeep Kaur
Avoid leaking the memory mapping of the trace buffer Coverity ID 1351228 Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli --- v2: call to unmapping function reduced to one from two v3: passed correct argument sysctl.u.tbuf_op.size in xenforeignmemory_unmap() --- tools/libxc

[Xen-devel] [PATCH v2] libxl: fix handling of returns in libxl_get_version_info()

2016-02-12 Thread Harmandeep Kaur
Check the return value of xc_version() and return NULL if it fails. libxl_get_version_info() can also return NULL now. Callers of the function libxl_get_version_info() are already prepared to deal with returning NULL on failure of xc_version(). Coverity ID 1351217 Signed-off-by: Harmandeep Kaur

[Xen-devel] [PATCH v3] libxl: fix handling of returns in libxl_get_version_info()

2016-02-12 Thread Harmandeep Kaur
in various info fields only if all calls to xc_version go error-free. Coverity ID 1351217 Signed-off-by: Harmandeep Kaur --- v2: Change local variable rc to r. Remove xen_version. Better readiblity of blocks of code. v3: Group all calls to xc_version() , so that data copies in various

Re: [Xen-devel] [PATCH v2] libxl: fix handling of returns in libxl_get_version_info()

2016-02-12 Thread Harmandeep Kaur
On Fri, Feb 12, 2016 at 6:39 PM, Dario Faggioli wrote: > On Fri, 2016-02-12 at 12:31 +, Wei Liu wrote: >> On Fri, Feb 12, 2016 at 05:00:40PM +0530, Harmandeep Kaur wrote: >> > >> > +info->xen_version_major = r >> 16; >> > +info->xen_ver

[Xen-devel] False positive coverity bug id: 1351218

2016-02-18 Thread Harmandeep Kaur
This is about a Coverity bug (included in the end), which I think is a false positive. I don't think pagesize can be zero in any case. pagesize = 1 << (((flags >> TMEM_POOL_PAGESIZE_SHIFT) & TMEM_POOL_PAGESIZE_MASK) + 12); Which means "pagesize > bufsize" will always be

[Xen-devel] [PATCH] xl: Improve return and exit codes of parse_config_data().

2016-02-19 Thread Harmandeep Kaur
Turning parse_config_data() exit codes towards using the EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers or libxl return codes. - for main_*: arbitrary -> EXIT_SUCCESS|EXIT_FAILURE. - for internal fucntion: arbitrary -> 0/1. Signed-off-by: Harmandee

[Xen-devel] [PATCH v2] xl: Improve return and exit codes of parse_config_data().

2016-02-23 Thread Harmandeep Kaur
Turning parse_config_data() exit codes towards using the EXIT_[SUCCESS|FAILURE] constants, instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli --- v2: Changelog edit. --- tools/libxl/xl_cmdimpl.c | 112

[Xen-devel] [PATCH v4] libxl: handle failure of xc_version() in libxl_get_version_info()

2016-02-24 Thread Harmandeep Kaur
Check the return value of xc_version() and return NULL if it fails. libxl_get_version_info() can also return NULL now. Callers of the function libxl_get_version_info() are already prepared to deal with a NULL return value. Coverity ID 1351217 Signed-off-by: Harmandeep Kaur --- v2: Change local

[Xen-devel] Introduction by Outreachy intern

2015-12-07 Thread Harmandeep Kaur
Hi, I am Harmandeep Kaur, Outreachy intern for December 2015 – March 2016 round from India. I will be working on the project “Introducing PowerClamp-like driver for Xen” with Dario Faggioli and George Dunlap. More info about the project on my blog https://harmanio.wordpress.com/ Looking forward

[Xen-devel] Garbled serial console output

2015-12-16 Thread Harmandeep Kaur
Hi, I tried to setup xen serial console with this guide, http://wiki.xen.org/wiki/Xen_Serial_Console I am using RS232 -USB cable for this purpose. I am on Ubuntu 15.10 (4.2.0-19-generic). xl info http://paste2.org/F2UgY5yz My output is garbled. http://paste2.org/tZveaAGU I will appreciate any

[Xen-devel] Blank screen while booting xen

2016-01-10 Thread Harmandeep Kaur
ppreciate any help. Regards, Harmandeep Kaur Outreachy Intern ---PATCH- >From c814c4ac0028bdef0082561ad6cd69570502c3ba Mon Sep 17 00:00:00 2001 From: Harmandeep Kaur Date: Tue, 29 Dec 2015 22:23:21 +0530 Subject: [

Re: [Xen-devel] Blank screen while booting xen

2016-01-11 Thread Harmandeep Kaur
On Mon, Jan 11, 2016 at 8:23 PM, Konrad Rzeszutek Wilk wrote: > On Mon, Jan 11, 2016 at 12:57:27AM +0530, Harmandeep Kaur wrote: >> Hi, >> >> I tried to modify and compile some of Xen 4.7's code >> (cloned from git clone git://xenbits.xen.org/xen.git) >> an

Re: [Xen-devel] Blank screen while booting xen

2016-01-11 Thread Harmandeep Kaur
On Mon, Jan 11, 2016 at 11:00 PM, Konrad Rzeszutek Wilk wrote: > On Mon, Jan 11, 2016 at 10:56:07PM +0530, Harmandeep Kaur wrote: >> On Mon, Jan 11, 2016 at 8:23 PM, Konrad Rzeszutek Wilk >> wrote: >> > On Mon, Jan 11, 2016 at 12:57:27AM +0530, Harmandeep Kaur wrote:

Re: [Xen-devel] Blank screen while booting xen

2016-01-14 Thread Harmandeep Kaur
On Mon, Jan 11, 2016 at 11:36 PM, Konrad Rzeszutek Wilk wrote: > On Mon, Jan 11, 2016 at 11:15:43PM +0530, Harmandeep Kaur wrote: >> On Mon, Jan 11, 2016 at 11:00 PM, Konrad Rzeszutek Wilk >> wrote: >> > On Mon, Jan 11, 2016 at 10:56:07PM +0530, Harmandeep Kaur wrote: &g

[Xen-devel] Error booting Xen

2016-01-18 Thread Harmandeep Kaur
Hi, I tried to boot Xen (cloned from git clone git://xenbits.xen.org/xen.git), but it stucks in a infinite loop. I got the log via serial. You can inspect it at http://paste2.org/YCpkzbpG If anybody has encountered this issue before, I will appreciate any help. Regards, Harmandeep Kaur

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Harmandeep Kaur
> On Mon, 2016-01-18 at 18:09 +, Andrew Cooper wrote: > > On 18/01/16 18:03, Harmandeep Kaur wrote: > > > Hi, > > > > > > I tried to boot Xen (cloned from git clone > > > git://xenbits.xen.org/xen.git), but it stucks > > > in a infinite lo

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Harmandeep Kaur
Hi, Adding 'xsave=0' is working for now. Thank you all for your help :) Regards, Harman On Tue, Jan 19, 2016 at 8:37 PM, Andrew Cooper wrote: > On 19/01/16 14:51, Dario Faggioli wrote: >> On Tue, 2016-01-19 at 06:36 -0700, Jan Beulich wrote: >> On 18.01.16 at 19:29, wrote: Yeah,

Re: [Xen-devel] Error booting Xen

2016-01-19 Thread Harmandeep Kaur
On Tue, Jan 19, 2016 at 10:38 PM, Dario Faggioli wrote: > On Tue, 2016-01-19 at 17:02 +, Andrew Cooper wrote: >> On 19/01/16 16:47, Jan Beulich wrote: >> > > > > On 19.01.16 at 17:27, wrote: >> > > Adding 'xsave=0' is working for now. Thank you >> > > all for your help :) >> > But that means

Re: [Xen-devel] Error booting Xen

2016-01-21 Thread Harmandeep Kaur
On Thu, Jan 21, 2016 at 8:44 PM, Dario Faggioli wrote: > On Wed, 2016-01-20 at 03:06 -0700, Jan Beulich wrote: >> > > > On 19.01.16 at 20:55, wrote: >> > >> > $ 'addr2line -e xen-syms 82d0801c1cce' returns >> > 'xen/xen/arch/x86/xstate.c:387' which again points to >> > xsave. Also, adding 'xs

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Harmandeep Kaur
Hi guys, I tried the patch and I am very happy to inform you all that the patch has solved my problem. Now I am able to boot Xen without disabling XSAVE. I have full log of boot at http://paste2.org/gVW0Z9nm (if any one is interested. also "XXX Hello, this is my first mod :)" is printed by my mod,

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Harmandeep Kaur
bG6L7 Regards, Harman On Tue, Jan 26, 2016 at 6:21 PM, Harmandeep Kaur wrote: > Hi guys, > > I tried the patch and I am very happy to inform you > all that the patch has solved my problem. Now I am > able to boot Xen without disabling XSAVE. I have > full log of boot at http://

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Harmandeep Kaur
I tried 3rd patch together with earlier two. I'm afraid the problem is not solved completely. Full log goes here, http://paste2.org/KEAetMHb Regards, Harmandeep On Tue, Jan 26, 2016 at 6:53 PM, Jan Beulich wrote: On 26.01.16 at 14:13, wrote: >> The patch as I already said is letting me boo

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Harmandeep Kaur
Last time, I did absolutely nothing. System was idle and it crashed just after the login. Now, I booted the system again and this time, there is no reset. But, performance of the system is very slow. Browser (Mozilla Firefox) freezes a lot. Also, before applying patches, when I used to disabe xsave

Re: [Xen-devel] Error booting Xen

2016-01-26 Thread Harmandeep Kaur
On Tue, Jan 26, 2016 at 11:58 PM, Dario Faggioli wrote: > On Tue, 2016-01-26 at 23:32 +0530, Harmandeep Kaur wrote: >> Last time, I did absolutely nothing. System was idle >> and it crashed just after the login. Now, I booted the >> system again and this time, t

Re: [Xen-devel] Error booting Xen

2016-01-27 Thread Harmandeep Kaur
I tried to apply your patches but it seems to have some merge conflicts with latest staging branch. ~/xen$ git apply ~/Downloads/x86-xsaves-init.patch error: patch failed: xen/arch/x86/hvm/hvm.c:2094 error: xen/arch/x86/hvm/hvm.c: patch does not apply Do you mind having a look ? Regards, Harmand

Re: [Xen-devel] Error booting Xen

2016-01-28 Thread Harmandeep Kaur
Latest set looks good. No boot issues. No resets. Full log at http://paste2.org/NxHNW4vn Sorry I don't know much about source of last few lines. I was just tracing in xen when these came. I was unable to create them again. I will inform you if I get these again. Regards, Harmandeep On Wed, Jan 27

[Xen-devel] [PATCH 2/3] xl: convert vcpu related return codes to EXIT_[SUCCESS|FAILURE]

2015-10-23 Thread Harmandeep Kaur
turning vcpu manipulation functions xl exit codes toward using the EXIT_[SUCCESS|FAILURE] macros, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 44 ++-- 1 file changed, 22

[Xen-devel] [PATCH 3/3] xl: convert cpupool related return codes to EXIT_[SUCCESS|FAILURE]

2015-10-23 Thread Harmandeep Kaur
turning cpupools related functions xl exit codes towards using the EXIT_[SUCCESS|FAILURE] macros, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 44 ++-- 1 file changed, 22

[Xen-devel] [PATCH 1/3] xl: convert scheduling related return codes to EXIT_[SUCCESS|FAILURE]

2015-10-23 Thread Harmandeep Kaur
turning scheduling related functions xl exit codes towards using the EXIT_[SUCCESS|FAILURE] macros, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 67 1 file changed

Re: [Xen-devel] [PATCH 3/3] xl: convert cpupool related return codes to EXIT_[SUCCESS|FAILURE]

2015-10-23 Thread Harmandeep Kaur
On Fri, Oct 23, 2015 at 5:40 PM, Dario Faggioli wrote: > > int main_cpupooldestroy(int argc, char **argv) > > @@ -7580,13 +7580,13 @@ int main_cpupooldestroy(int argc, char > > **argv) > > if (libxl_cpupool_qualifier_to_cpupoolid(ctx, pool, &poolid, > > NULL) || > > !libxl_cpupooli

[Xen-devel] [PATCH v2 5/5] xl: improve return and exit codes of parse related functions

2015-10-23 Thread Harmandeep Kaur
turning parsing related functions xl exit codes towards using the EXIT_[SUCCESS|FAILURE] macros, instead of instead of arbitrary numbers or libxl return codes. it doesn't include parse_config_data() which is big enough to deserve its own patch Signed-off-by: Harmandeep Kaur --- tools/

[Xen-devel] [PATCH v2 2/5] xl: improve return and exit codes of scheduling related functions

2015-10-23 Thread Harmandeep Kaur
turning scheduling related functions xl exit codes towards using the EXIT_[SUCCESS|FAILURE] macros, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 147 ++- 1 file changed

[Xen-devel] [PATCH v2 4/5] xl: improve return and exit codes of cpupool related functions

2015-10-23 Thread Harmandeep Kaur
turning cpupools related functions xl exit codes towards using the EXIT_[SUCCESS|FAILURE] macros, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 52 1 file changed, 26

[Xen-devel] [PATCH v2 3/5] xl: improve return and exit codes of vcpu related functions

2015-10-23 Thread Harmandeep Kaur
turning vcpu manipulation functions xl exit codes toward using the EXIT_[SUCCESS|FAILURE] macros, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur --- tools/libxl/xl_cmdimpl.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions

[Xen-devel] [PATCH v2 1/5] xl: convert exit codes to EXIT_[SUCCESS|FAILURE]

2015-10-23 Thread Harmandeep Kaur
returning a process exit status and not a function return value) Signed-off-by: Harmandeep Kaur --- tools/libxl/xl.c | 12 ++-- tools/libxl/xl.h | 6 ++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c index 5316ad9..dfae84a 100644 --- a

[Xen-devel] [PATCH v2 0/5] xl: convert exit codes to EXIT_[SUCCESS|FAILURE]

2015-10-23 Thread Harmandeep Kaur
e discussions about this patch: https://www.mail-archive.com/xen-devel@lists.xen.org/msg42850.html *v1 of this patch http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02497.html Signed-off-by: Harmandeep Kaur --- ___ Xen-devel mailing lis

[Xen-devel] [PATCH v3 3/5] xl: improve return and exit codes of vcpu related functions

2015-10-27 Thread Harmandeep Kaur
Turning vcpu manipulation functions exit codes toward using the EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur --- v2->v3: Fixed return of main_vcpuset. tools/libxl/xl_cmdimpl.c | 21 +++-- 1 f

[Xen-devel] [PATCH v3 4/5] xl: improve return and exit codes of cpupool related functions

2015-10-27 Thread Harmandeep Kaur
Turning cpupools related functions exit codes towards using the EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur --- v2->v3: Edited changelog. tools/libxl/xl_cmdimpl.c |

[Xen-devel] [PATCH v3 1/5] xl: convert main() exit codes to EXIT_[SUCCESS|FAILURE]

2015-10-27 Thread Harmandeep Kaur
returning a process exit status and not a function return value) Signed-off-by: Harmandeep Kaur --- v2->v3: Commented more precisely and aligned comment properly. v1->v2: Applied new approach (main() functions return EXIT_SUCCESS/FAILURE and other functions return 0/1). tools/libxl/xl.

[Xen-devel] [PATCH v3 2/5] xl: improve return and exit codes of scheduling related functions

2015-10-27 Thread Harmandeep Kaur
off-by: Harmandeep Kaur --- v2->v3: Reverted removal of 'rc' in sched_domain_output(). tools/libxl/xl_cmdimpl.c | 139 +++ 1 file changed, 67 insertions(+), 72 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c ind

[Xen-devel] [PATCH v3 0/5] xl: convert exit codes to EXIT_[SUCCESS|FAILURE]

2015-10-27 Thread Harmandeep Kaur
e discussions about this patch: https://www.mail-archive.com/xen-devel@lists.xen.org/msg42850.html *v1 of this patch: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02497.html *v2 of this patch: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02623.html

[Xen-devel] [PATCH v3 5/5] xl: improve return and exit codes of parse related functions

2015-10-27 Thread Harmandeep Kaur
x27;t touch parse_config_data() which is big enough to deserve its own patch. Signed-off-by: Harmandeep Kaur --- v2->v3: Reverted return of parse_mem_size_kb() to -1. And exculded out of scope changes. tools/libxl/xl_cmdimpl.c | 51 1 file changed,

[Xen-devel] [PATCH v4 4/5] xl: improve return and exit codes of cpupool related functions

2015-10-27 Thread Harmandeep Kaur
Turning cpupools related functions exit codes towards using the EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli --- v3->v4: No changes. v2->v3: Edited changelog. tools

[Xen-devel] [PATCH v4 0/5] xl: convert exit codes to EXIT_[SUCCESS|FAILURE]

2015-10-27 Thread Harmandeep Kaur
h: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02872.html Signed-off-by: Harmandeep Kaur --- ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] [PATCH v4 5/5] xl: improve return and exit codes of parse related functions

2015-10-27 Thread Harmandeep Kaur
x27;t touch parse_config_data() which is big enough to deserve its own patch. Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli --- v3->v4: Exculded out of scope changes. v2->v3: Reverted return of parse_mem_size_kb() to -1. And exculded out of scope changes. tools/libxl/

[Xen-devel] [PATCH v4 3/5] xl: improve return and exit codes of vcpu related functions

2015-10-27 Thread Harmandeep Kaur
Turning vcpu manipulation functions exit codes toward using the EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli --- v3->v4: No changes. v2->v3: Fixed return of main_vcpuset. tools

[Xen-devel] [PATCH v4 2/5] xl: improve return and exit codes of scheduling related functions

2015-10-27 Thread Harmandeep Kaur
off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli --- v3->v4: No changes. v2->v3: Reverted removal of 'rc' in sched_domain_output(). tools/libxl/xl_cmdimpl.c | 139 +++ 1 file changed, 67 insertions(+), 72 deletions(-) diff --git a/tool

[Xen-devel] [PATCH v4 1/5] xl: convert main() exit codes to EXIT_[SUCCESS|FAILURE]

2015-10-27 Thread Harmandeep Kaur
returning a process exit status and not a function return value) Signed-off-by: Harmandeep Kaur Acked-by: Wei Liu Reviewed-by: Dario Faggioli --- v3->v4: Aligned comment correctly. v2->v3: Commented more precisely and aligned comment properly. v1->v2: Applied new approach (main() functio

[Xen-devel] [PATCH v5 0/5] xl: convert exit codes to EXIT_[SUCCESS|FAILURE]

2015-10-27 Thread Harmandeep Kaur
h: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02872.html *v4 of this patch: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02947.html Signed-off-by: Harmandeep Kaur --- ___ Xen-devel mailing list Xen-devel@lists.xe

[Xen-devel] [PATCH v5 1/5] xl: convert main() exit codes to EXIT_[SUCCESS|FAILURE]

2015-10-27 Thread Harmandeep Kaur
returning a process exit status and not a function return value) Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli Acked-by: Wei Liu --- v4->v5: No changes. v3->v4: Aligned comment correctly. v2->v3: Commented more precisely and aligned comment properly. v1->v2: Applied new ap

[Xen-devel] [PATCH v5 5/5] xl: improve return and exit codes of parse related functions

2015-10-27 Thread Harmandeep Kaur
x27;t touch parse_config_data() which is big enough to deserve its own patch. Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli Acked-by: Wei Liu --- v4->v5: No changes. v3->v4: Exculded out of scope changes. v2->v3: Reverted return of parse_mem_size_kb() to -1. And exculded

[Xen-devel] [PATCH v5 3/5] xl: improve return and exit codes of vcpu related functions

2015-10-27 Thread Harmandeep Kaur
Turning vcpu manipulation functions exit codes toward using the EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli Acked-by: Wei Liu --- v4->v5: Corrected coding style. v3->v4: No c

[Xen-devel] [PATCH v5 2/5] xl: improve return and exit codes of scheduling related functions

2015-10-27 Thread Harmandeep Kaur
off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli Acked-by: Wei Liu --- v4->v5: Corrected coding style. v3->v4: No changes. v2->v3: Reverted removal of 'rc' in sched_domain_output(). tools/libxl/xl_cmdimpl.c | 139 +++ 1 file chan

[Xen-devel] [PATCH v5 4/5] xl: improve return and exit codes of cpupool related functions

2015-10-27 Thread Harmandeep Kaur
Turning cpupools related functions exit codes towards using the EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli Acked-by: Wei Liu --- v4->v5: No changes. v3->v4: No changes.

[Xen-devel] [PATCH v6 0/5] xl: convert exit codes to EXIT_[SUCCESS|FAILURE]

2015-10-27 Thread Harmandeep Kaur
h: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02872.html *v4 of this patch: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02947.html *v5 of this patch: http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02990.html

[Xen-devel] [PATCH v6 1/5] xl: convert main() exit codes to EXIT_[SUCCESS|FAILURE]

2015-10-27 Thread Harmandeep Kaur
returning a process exit status and not a function return value) Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli Acked-by: Wei Liu --- v5->v6: No changes. v4->v5: No changes. v3->v4: Aligned comment correctly. v2->v3: Commented more precisely and aligned comment properly. v1-

[Xen-devel] [PATCH v6 2/5] xl: improve return and exit codes of scheduling related functions

2015-10-27 Thread Harmandeep Kaur
off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli Acked-by: Wei Liu --- v5->v6: Corrected coding style. v4->v5: Improved coding style. v3->v4: No changes. v2->v3: Reverted removal of 'rc' in sched_domain_output(). tools/libxl/xl_cmdimpl.c | 151 +++

[Xen-devel] [PATCH v6 4/5] xl: improve return and exit codes of parse related functions

2015-10-27 Thread Harmandeep Kaur
Turning cpupools related functions exit codes towards using the EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli Acked-by: Wei Liu --- v5->v6: No changes. v4->v5: No changes. v3-&

[Xen-devel] [PATCH v6 3/5] xl: improve return and exit codes of vcpu related functions

2015-10-27 Thread Harmandeep Kaur
Turning vcpu manipulation functions exit codes toward using the EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers or libxl return codes. Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli Acked-by: Wei Liu --- v5->v6: No changes. v4->v5: Corrected coding

[Xen-devel] [PATCH v6 5/5] xl: improve return and exit codes of parse related functions

2015-10-27 Thread Harmandeep Kaur
x27;t touch parse_config_data() which is big enough to deserve its own patch. Signed-off-by: Harmandeep Kaur Reviewed-by: Dario Faggioli Acked-by: Wei Liu --- v5->v6: No changes. v4->v5: No changes. v3->v4: Exculded out of scope changes. v2->v3: Reverted return of parse_mem_size_kb() to -1.

[Xen-devel] [PATCH] sched_credit: Remove cpu argument to __runq_insert()

2015-10-30 Thread Harmandeep Kaur
__runq_insert() takes two arguments, cpu and svc. However, the cpu argument is redundant because we can get all the information we need about cpu from svc. Signed-off-by: Harmandeep Kaur --- xen/common/sched_credit.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git

Re: [Xen-devel] [PATCH] sched_credit: Remove cpu argument to __runq_insert()

2015-10-30 Thread Harmandeep Kaur
On Fri, Oct 30, 2015 at 10:16 PM, Dario Faggioli wrote: > On Fri, 2015-10-30 at 20:39 +0530, Harmandeep Kaur wrote: > > __runq_insert() takes two arguments, cpu and svc. However, > > the cpu argument is redundant because we can get all the > > information we ne