[Xen-devel] [PATCH v5] libxl: QED disks support

2016-12-14 Thread Cédric Bosdonnat
Qdisk supports qcow and qcow2, extend it to also support qed disk format. Signed-off-by: Cédric Bosdonnat Acked-by: Ian Jackson Acked-by: Wei Liu --- v2: * Add qed to the list for possible format values in xl-disk-configuration.txt * Add LIBXL_HAVE_QED v3: * Remove the qed

[Xen-devel] [PATCH v4] libxl: QED disks support

2016-12-13 Thread Cédric Bosdonnat
Qdisk supports qcow and qcow2, extend it to also support qed disk format. Signed-off-by: Cédric Bosdonnat --- v2: * Add qed to the list for possible format values in xl-disk-configuration.txt * Add LIBXL_HAVE_QED v3: * Remove the qed: obsolete prefix support v4: * Added backing

[Xen-devel] [PATCH v3] libxl: QED disks support

2016-12-12 Thread Cédric Bosdonnat
Qdisk supports qcow and qcow2, extend it to also support qed disk format. Signed-off-by: Cédric Bosdonnat --- v2: * Add qed to the list for possible format values in xl-disk-configuration.txt * Add LIBXL_HAVE_QED v3: * Remove the qed: obsolete prefix support --- docs/misc/xl-disk

[Xen-devel] [PATCH 04/11] docs: convert xl-disk-configuration into a man page

2016-12-09 Thread Cédric Bosdonnat
Convert xl-disk-configuration.txt from plain text file to a POD file to get it as a man page. The references to it in the other man pages are also updated. Signed-off-by: Cédric Bosdonnat --- docs/INDEX | 1 - docs/man/xl-disk-configuration.pod.5 | 529

[Xen-devel] [PATCH 11/11] docs: convert tscmode.txt into man page

2016-12-09 Thread Cédric Bosdonnat
tscmode.txt is referenced in xl.cfg(5). Convert it into a pod formatted man page. Signed-off-by: Cédric Bosdonnat --- docs/INDEX | 1 - docs/{misc/tscmode.txt => man/tscmode.pod.7} | 109 ++- docs/man/xl.cfg.pod.5

[Xen-devel] [PATCH 08/11] docs: convert vtpmmgr into a pod man page

2016-12-09 Thread Cédric Bosdonnat
vtpmmgr.txt is referenced in a man page, convert it to a man page. Signed-off-by: Cédric Bosdonnat --- docs/{misc/vtpmmgr.txt => man/vtpmmgr.pod.7} | 351 --- 1 file changed, 206 insertions(+), 145 deletions(-) rename docs/{misc/vtpmmgr.txt => man/vtpmmgr.pod.

[Xen-devel] [PATCH 01/11] docs: allow writing man pages in markdown

2016-12-09 Thread Cédric Bosdonnat
doesn't know how to convert man pages links. Thus the man links in markdown pages won't work. Signed-off-by: Cédric Bosdonnat --- docs/Makefile | 48 ++-- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/docs/Makefile b/docs/Make

[Xen-devel] [PATCH 05/11] docs: move vbd-interface from misc to man

2016-12-09 Thread Cédric Bosdonnat
Make vbd-interface a man page, section7, as this document is referenced in other man pages (xl-disk-configuration) Signed-off-by: Cédric Bosdonnat --- docs/INDEX| 1 - docs/{misc/vbd-interface.txt => man/vbd-interface.markdown.7} | 0 2 fi

[Xen-devel] [PATCH 00/11] Convert a few docs/misc pages into man pages

2016-12-09 Thread Cédric Bosdonnat
kdown man pages. Be aware that markdown man pages can't link to other man pages. I also added some pages to man 7 (Misc) section. Cédric Bosdonnat (11): docs: allow writing man pages in markdown docs: add rules for man 7 section docs: xl-network-configuration turns into a man docs:

[Xen-devel] [PATCH 06/11] docs: move xl-numa-placement.markdown to man7

2016-12-09 Thread Cédric Bosdonnat
docs/misc/xl-numa-placement.markdown is referenced by xl.cfg.5 man page, move it to a man page, section 7. Signed-off-by: Cédric Bosdonnat --- .../xl-numa-placement.markdown => man/xl-numa-placement.markdown.7} | 0 docs/man/xl.cfg.pod.5.in

[Xen-devel] [PATCH 10/11] docs: move pci-device-reservations from misc to man

2016-12-09 Thread Cédric Bosdonnat
pci-device-reservations is references in xl.cfg(5), convert it as a man page in pod format. The name is now prefixed with 'xen-' to avoid possible name conflicts. Signed-off-by: Cédric Bosdonnat --- docs/man/xen-pci-device-reservations.pod.7 | 84 ++

[Xen-devel] [PATCH 02/11] docs: add rules for man 7 section

2016-12-09 Thread Cédric Bosdonnat
Some of the docs/misc documents will need to go in man 7 section, prepare docs/Makefile for it. Signed-off-by: Cédric Bosdonnat --- .gitignore| 1 + docs/Makefile | 9 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a2f34a14cb

[Xen-devel] [PATCH 07/11] docs: move vtpm from misc to man

2016-12-09 Thread Cédric Bosdonnat
vtpm.txt is referenced in xl.cfg man page. Convert it to pod, move it to the man folder and update the reference. Signed-off-by: Cédric Bosdonnat --- docs/INDEX | 1 - docs/{misc/vtpm.txt => man/vtpm.pod.7} | 364 + docs/

[Xen-devel] [PATCH 03/11] docs: xl-network-configuration turns into a man

2016-12-09 Thread Cédric Bosdonnat
Move docs/misc/xl-network-configuration.markdown to docs/man and update the references to it in the other man pages. Signed-off-by: Cédric Bosdonnat --- docs/INDEX| 1 - .../xl-network-configuration.markdown.5

[Xen-devel] [PATCH 09/11] docs: convert misc/channel.txt into xen-pv-channel man page

2016-12-09 Thread Cédric Bosdonnat
channel.txt is referenced in xl.cfg(5). Move it to man pages, section 7 Signed-off-by: Cédric Bosdonnat --- .../channel.txt => man/xen-pv-channel.markdown.7}| 20 ++-- docs/man/xl.cfg.pod.5.in | 2 +- 2 files changed, 11 insertions(+),

[Xen-devel] [PATCH] docs: turn links to docs/* into absolute path

2016-12-08 Thread Cédric Bosdonnat
From a user point of view, when reading things like "See docs/misc/txt" in a man page, it is not obvious to find the location of that file. Use $docdir to turn these into absolute paths. Signed-off-by: Cédric Bosdonnat --- docs/man/xl.cfg.pod.5.in | 16 docs/man/x

[Xen-devel] [PATCH v2] libxl: QED disks support

2016-12-08 Thread Cédric Bosdonnat
Qdisk supports qcow and qcow2, extend it to also support qed disk format. Signed-off-by: Cédric Bosdonnat --- v2: * Add qed to the list for possible format values in xl-disk-configuration.txt * Add LIBXL_HAVE_QED --- docs/misc/xl-disk-configuration.txt |4 +- tools/libxl/libxl.h

[Xen-devel] [PATCH v2 30/35] libxl/libxl_save_callout.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_save_callout.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_save_callout.c b

[Xen-devel] [PATCH v2 32/35] libxl/libxl_vnuma.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_vnuma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_vnuma.c b/tools/libxl

[Xen-devel] [PATCH v2 24/35] libxl/libxl_no_colo.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_no_colo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_no_colo.c b/tools/libxl

[Xen-devel] [PATCH v2 16/35] libxl/libxl_dom_save.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_dom_save.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 35/35] libxl/libxl_xshelp.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_xshelp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_xshelp.c b/tools/libxl

[Xen-devel] [PATCH v2 25/35] libxl/libxl_pci.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_pci.c | 153 +--- 1 file changed, 79 insertions(+), 74 deletions(-) diff --git a

[Xen-devel] [PATCH v2 29/35] libxl/libxl_remus.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_remus.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 08/35] libxl/libxl_colo_nic.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_colo_nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo_nic.c b/tools/libxl

[Xen-devel] [PATCH v2 18/35] libxl/libxl_freebsd.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_freebsd.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_freebsd.c b/tools/libxl

[Xen-devel] [PATCH v2 27/35] libxl/libxl_pvusb.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_usb.c | 57 ++--- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a

[Xen-devel] [PATCH v2 23/35] libxl/libxl_nic.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_nic.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_nic.c b/tools/libxl

[Xen-devel] [PATCH v2 03/35] libxl.c: switch to LOG*D use (refactored messages)

2016-12-02 Thread Cédric Bosdonnat
domain id from it since it is already contained in the output log string. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl.c | 118 1 file changed, 55 insertions(+), 63 deletions(-) diff --git a/tools/libxl/libxl.c b/tools

[Xen-devel] [PATCH v2 07/35] libxl/libxl_colo.h: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_colo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo.h b/tools/libxl/libxl_colo.h

[Xen-devel] [PATCH v2 34/35] libxl/libxl_x86.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_x86.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_x86.c b/tools/libxl/libxl_x86

[Xen-devel] [PATCH v2 28/35] libxl/libxl_qmp.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_qmp.c | 56 - 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a

[Xen-devel] [PATCH v2 04/35] libxl.c: switch to LOG*D use

2016-12-02 Thread Cédric Bosdonnat
functions to be the one of the publicly known domain, not a stubdom one. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl.c | 79 +++-- 1 file changed, 41 insertions(+), 38 deletions(-) diff --git a/tools/libxl/libxl.c b

[Xen-devel] [PATCH v2 19/35] libxl/libxl_internal.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_internal.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 33/35] libxl/libxl_vtpm.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_vtpm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_vtpm.c b/tools/libxl

[Xen-devel] [PATCH v2 31/35] libxl/libxl_stream_write.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_stream_write.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/libxl/libxl_stream_write.c b

[Xen-devel] [PATCH v2 22/35] libxl/libxl_netbuffer.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_netbuffer.c | 43 --- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a

[Xen-devel] [PATCH v2 26/35] libxl/libxl_psr.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_psr.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/libxl/libxl_psr.c b/tools/libxl

[Xen-devel] [PATCH v2 20/35] libxl/libxl_linux.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_linux.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/tools/libxl/libxl_linux.c b

[Xen-devel] [PATCH v2 00/35] libxl LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
Hey all, Here is v2 addressing Wei's comments on patch #1. The 3 libxl.c patches haven't been merged, but the commit message of the first one has been slightly rewritten to help understanding the reason of the split. Note: I added Wei Liu's ACK on all patches Cedric Bosdonnat (35): libxl: add

[Xen-devel] [PATCH v2 17/35] libxl/libxl_dom_suspend.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_dom_suspend.c | 45 - 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a

[Xen-devel] [PATCH v2 06/35] libxl/libxl_checkpoint_device.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_checkpoint_device.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 12/35] libxl/libxl_colo_save.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_colo_save.c | 49 ++- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a

[Xen-devel] [PATCH v2 15/35] libxl/libxl_dm.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_dm.c | 111 ++--- 1 file changed, 59 insertions(+), 52 deletions(-) diff --git a

[Xen-devel] [PATCH v2 10/35] libxl/libxl_colo_qdisk.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_colo_qdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo_qdisk.c b/tools/libxl

[Xen-devel] [PATCH v2 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat These functions should be used to log messages when the domain id is known. libxl__log will now prepend the log message by "Domain %PRIu32:" if the domain id is a valid one. This aims at helping consumers filter logs on domain IDs. Signed-off-by: Cédric Bosdon

[Xen-devel] [PATCH v2 05/35] libxl/libxl_bootloader.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D functions to output the domain ID in logs as much as possible. This will help consumer code sorting the logs by domain. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_bootloader.c | 84 -- 1

[Xen-devel] [PATCH v2 21/35] libxl/libxl_netbsd.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_netbsd.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_netbsd.c b/tools/libxl

[Xen-devel] [PATCH v2 13/35] libxl/libxl_create.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_create.c | 119 +++-- 1 file changed, 60 insertions(+), 59 deletions(-) diff --git a

[Xen-devel] [PATCH v2 14/35] libxl/libxl_device.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_device.c | 70 -- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a

[Xen-devel] [PATCH v2 09/35] libxl/libxl_colo_proxy.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_colo_proxy.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 11/35] libxl/libxl_colo_restore.c: used LOG*D functions

2016-12-02 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_colo_restore.c | 57 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a

[Xen-devel] [PATCH v2 02/35] libxl.c: switch to LOG*D use

2016-12-02 Thread Cédric Bosdonnat
changes LOG*() into LOG*D() and adds a domid parameter. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl.c | 302 ++-- 1 file changed, 153 insertions(+), 149 deletions(-) diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c

[Xen-devel] [PATCH] libxl: invert xc and domain model resume calls in xc_domain_resume()

2016-11-28 Thread Cédric Bosdonnat
Resume is sometimes silently failing for HVM guests. Getting the xc_domain_resume() and libxl__domain_resume_device_model() in the reverse order than what is in the suspend code fixes the problem. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_dom_suspend.c | 12 ++-- 1 file

[Xen-devel] [PATCH v2 32/35] libxl/libxl_vnuma.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_vnuma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_vnuma.c b/tools/libxl/libxl_vnuma.c index db22799

[Xen-devel] [PATCH v2 35/35] libxl/libxl_xshelp.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_xshelp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_xshelp.c b/tools/libxl/libxl_xshelp.c index

[Xen-devel] [PATCH v2 25/35] libxl/libxl_pci.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_pci.c | 153 +--- 1 file changed, 79 insertions(+), 74 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 29/35] libxl/libxl_remus.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_remus.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/tools/libxl/libxl_remus.c b/tools/libxl

[Xen-devel] [PATCH v2 31/35] libxl/libxl_stream_write.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_stream_write.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/libxl/libxl_stream_write.c b/tools/libxl

[Xen-devel] [PATCH v2 16/35] libxl/libxl_dom_save.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_dom_save.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/tools/libxl/libxl_dom_save.c b/tools

[Xen-devel] [PATCH v2 34/35] libxl/libxl_x86.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_x86.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_x86.c b/tools/libxl/libxl_x86.c index e1844c8

[Xen-devel] [PATCH v2 33/35] libxl/libxl_vtpm.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_vtpm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_vtpm.c b/tools/libxl/libxl_vtpm.c index

[Xen-devel] [PATCH v2 27/35] libxl/libxl_pvusb.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_usb.c | 57 ++--- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 28/35] libxl/libxl_qmp.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_qmp.c | 56 - 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 26/35] libxl/libxl_psr.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_psr.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/libxl/libxl_psr.c b/tools/libxl/libxl_psr.c index

[Xen-devel] [PATCH v2 04/35] libxl.c: switch to LOG*D use

2016-11-17 Thread Cédric Bosdonnat
functions to be the one of the publicly known domain, not a stubdom one. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl.c | 79 +++-- 1 file changed, 41 insertions(+), 38 deletions(-) diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c

[Xen-devel] [PATCH v2 15/35] libxl/libxl_dm.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_dm.c | 111 ++--- 1 file changed, 59 insertions(+), 52 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 24/35] libxl/libxl_no_colo.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_no_colo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_no_colo.c b/tools/libxl/libxl_no_colo.c index

[Xen-devel] [PATCH v2 23/35] libxl/libxl_nic.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_nic.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_nic.c b/tools/libxl/libxl_nic.c index 220a028

[Xen-devel] [PATCH v2 22/35] libxl/libxl_netbuffer.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_netbuffer.c | 43 --- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 30/35] libxl/libxl_save_callout.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_save_callout.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_save_callout.c b/tools/libxl

[Xen-devel] [PATCH v2 11/35] libxl/libxl_colo_restore.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_restore.c | 57 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 00/35] libxl LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
Hey all, Here is v2 addressing Wei's comments on patch #1. The 3 libxl.c patches haven't been merged, but the commit message of the first one has been slightly rewritten to help understanding the reason of the split. Cedric Bosdonnat (35): libxl: add LIBXL_LOGD_* and LOG*D function families.

[Xen-devel] [PATCH v2 19/35] libxl/libxl_internal.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_internal.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/tools/libxl/libxl_internal.c b/tools

[Xen-devel] [PATCH v2 10/35] libxl/libxl_colo_qdisk.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_qdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo_qdisk.c b/tools/libxl/libxl_colo_qdisk.c

[Xen-devel] [PATCH v2 07/35] libxl/libxl_colo.h: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo.h b/tools/libxl/libxl_colo.h index f0e438e

[Xen-devel] [PATCH v2 20/35] libxl/libxl_linux.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_linux.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/tools/libxl/libxl_linux.c b/tools/libxl

[Xen-devel] [PATCH v2 14/35] libxl/libxl_device.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_device.c | 70 -- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 08/35] libxl/libxl_colo_nic.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo_nic.c b/tools/libxl/libxl_colo_nic.c index

[Xen-devel] [PATCH v2 18/35] libxl/libxl_freebsd.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_freebsd.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_freebsd.c b/tools/libxl/libxl_freebsd.c

[Xen-devel] [PATCH v2 13/35] libxl/libxl_create.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_create.c | 119 +++-- 1 file changed, 60 insertions(+), 59 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 03/35] libxl.c: switch to LOG*D use (refactored messages)

2016-11-17 Thread Cédric Bosdonnat
domain id from it since it is already contained in the output log string. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl.c | 118 1 file changed, 55 insertions(+), 63 deletions(-) diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c index

[Xen-devel] [PATCH v2 17/35] libxl/libxl_dom_suspend.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_dom_suspend.c | 45 - 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 12/35] libxl/libxl_colo_save.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_save.c | 49 ++- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH v2 21/35] libxl/libxl_netbsd.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_netbsd.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_netbsd.c b/tools/libxl/libxl_netbsd.c index

[Xen-devel] [PATCH v2 05/35] libxl/libxl_bootloader.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D functions to output the domain ID in logs as much as possible. This will help consumer code sorting the logs by domain. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_bootloader.c | 84 -- 1 file changed, 49

[Xen-devel] [PATCH v2 09/35] libxl/libxl_colo_proxy.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_proxy.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tools/libxl/libxl_colo_proxy.c b/tools

[Xen-devel] [PATCH v2 06/35] libxl/libxl_checkpoint_device.c: used LOG*D functions

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_checkpoint_device.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/libxl/libxl_checkpoint_device.c b

[Xen-devel] [PATCH v2 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-11-17 Thread Cédric Bosdonnat
From: Cedric Bosdonnat These functions should be used to log messages when the domain id is known. libxl__log will now prepend the log message by "Domain %PRIu32:" if the domain id is a valid one. This aims at helping consumers filter logs on domain IDs. Signed-off-by: Cédric

[Xen-devel] [PATCH v2 02/35] libxl.c: switch to LOG*D use

2016-11-17 Thread Cédric Bosdonnat
changes LOG*() into LOG*D() and adds a domid parameter. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl.c | 302 ++-- 1 file changed, 153 insertions(+), 149 deletions(-) diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c index 33c5e4c

[Xen-devel] [PATCH 32/35] libxl/libxl_vnuma.c: used LOG*D functions

2016-11-15 Thread Cédric Bosdonnat
From: Cédric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_vnuma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_vnuma.c b/tools/libxl/libxl_vnuma.c index db22799

[Xen-devel] [PATCH 28/35] libxl/libxl_qmp.c: used LOG*D functions

2016-11-15 Thread Cédric Bosdonnat
From: Cédric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_qmp.c | 56 - 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH 10/35] libxl/libxl_colo_qdisk.c: used LOG*D functions

2016-11-15 Thread Cédric Bosdonnat
From: Cédric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_colo_qdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo_qdisk.c b/tools/libxl/libxl_colo_qdisk.c

[Xen-devel] [PATCH 21/35] libxl/libxl_netbsd.c: used LOG*D functions

2016-11-15 Thread Cédric Bosdonnat
From: Cédric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_netbsd.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_netbsd.c b/tools/libxl/libxl_netbsd.c index

[Xen-devel] [PATCH 14/35] libxl/libxl_device.c: used LOG*D functions

2016-11-15 Thread Cédric Bosdonnat
From: Cédric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_device.c | 70 -- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/tools/libxl

[Xen-devel] [PATCH 23/35] libxl/libxl_nic.c: used LOG*D functions

2016-11-15 Thread Cédric Bosdonnat
From: Cédric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_nic.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_nic.c b/tools/libxl/libxl_nic.c index 220a028

[Xen-devel] [PATCH 18/35] libxl/libxl_freebsd.c: used LOG*D functions

2016-11-15 Thread Cédric Bosdonnat
From: Cédric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_freebsd.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_freebsd.c b/tools/libxl/libxl_freebsd.c

[Xen-devel] [PATCH 00/35] libxl LOG*D functions

2016-11-15 Thread Cédric Bosdonnat
consistent within each file. However, I have split the libxl.c file into several commits to ease reviewing that giant change. As these changes where all manually done, there is no script to document here. Cédric Bosdonnat (35): libxl: add LIBXL_LOGD_* and LOG*D function families. libxl.c: switc

[Xen-devel] [PATCH 20/35] libxl/libxl_linux.c: used LOG*D functions

2016-11-15 Thread Cédric Bosdonnat
From: Cédric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_linux.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/tools/libxl/libxl_linux.c b/tools/libxl

[Xen-devel] [PATCH 01/35] libxl: add LIBXL_LOGD_* and LOG*D function families.

2016-11-15 Thread Cédric Bosdonnat
From: Cédric Bosdonnat These functions should be used to log messages when the domain id is known. libxl__log will now prepend the log message by "Domain %PRIu32:" if the domain id is a valid one. This aims at helping consumers filter logs on domain IDs. Signed-off-by: Cédric

  1   2   >