Add a break point in function libxl__domain_resume_device_model Signed-off-by: rwxybh <rwxybh@126.com> --- tools/libxl/libxl_dom.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c index b38d0a7..3eaf3ae 100644 --- a/tools/libxl/libxl_dom.c +++ b/tools/libxl/libxl_dom.c @@ -985,6 +985,7 @@ int libxl__domain_resume_device_model(libxl__gc *gc, uint32_t domid) case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: if (libxl__qmp_resume(gc, domid)) return ERROR_FAIL; + break; default: return ERROR_INVAL; } -- 1.7.1
Roger Pau Monné
2013-Jul-30 08:22 UTC
Re: [PATCH] Fix function libxl__domain_resume_device_model
On 30/07/13 02:37, rwxybh wrote:> Add a break point in function libxl__domain_resume_device_model > > Signed-off-by: rwxybh <rwxybh@126.com> > --- > tools/libxl/libxl_dom.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c > index b38d0a7..3eaf3ae 100644 > --- a/tools/libxl/libxl_dom.c > +++ b/tools/libxl/libxl_dom.c > @@ -985,6 +985,7 @@ int libxl__domain_resume_device_model(libxl__gc *gc, uint32_t domid) > case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: > if (libxl__qmp_resume(gc, domid)) > return ERROR_FAIL; > + break;Thanks, the patch looks OK, but the indentation is wrong, libxl uses spaces to indent, please read the CODING_STYLE.
On Tue, Jul 30, 2013 at 8:37 AM, rwxybh <rwxybh@126.com> wrote:> Add a break point in function libxl__domain_resume_device_model > > Signed-off-by: rwxybh <rwxybh@126.com>Is it OK to use alias rather than real name in SoB? I remember seeing that author should use real name in SoB but I''m not sure. Ignore this if I''m wrong. Wei.> --- > tools/libxl/libxl_dom.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c > index b38d0a7..3eaf3ae 100644 > --- a/tools/libxl/libxl_dom.c > +++ b/tools/libxl/libxl_dom.c > @@ -985,6 +985,7 @@ int libxl__domain_resume_device_model(libxl__gc *gc, uint32_t domid) > case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: > if (libxl__qmp_resume(gc, domid)) > return ERROR_FAIL; > + break; > default: > return ERROR_INVAL; > } > -- > 1.7.1 > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
Ian Campbell
2013-Jul-30 12:28 UTC
Re: [PATCH] Fix function libxl__domain_resume_device_model
On Tue, 2013-07-30 at 20:00 +0800, Wei Liu wrote:> On Tue, Jul 30, 2013 at 8:37 AM, rwxybh <rwxybh@126.com> wrote: > > Add a break point in function libxl__domain_resume_device_model > > > > Signed-off-by: rwxybh <rwxybh@126.com> > > Is it OK to use alias rather than real name in SoB? I remember seeing that > author should use real name in SoB but I''m not sure. Ignore this if I''m wrong.I know the Linux guys have been picky about this in the past, although I''m not sure they are 100% consistent (the one I''m thinking of had other surrounding controversy). In any case since rwxybh has previously posted with their real name I think it would be OK to ask for an S-o-b containing it and sidestep having to think about the issue? Bingheng, are you OK with me using the following S-o-b instead of the one above?> Signed-off-by: Bingheng Yan <rwxybh@126.com>Ian.> > > Wei. > > > --- > > tools/libxl/libxl_dom.c | 1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c > > index b38d0a7..3eaf3ae 100644 > > --- a/tools/libxl/libxl_dom.c > > +++ b/tools/libxl/libxl_dom.c > > @@ -985,6 +985,7 @@ int libxl__domain_resume_device_model(libxl__gc *gc, uint32_t domid) > > case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: > > if (libxl__qmp_resume(gc, domid)) > > return ERROR_FAIL; > > + break; > > default: > > return ERROR_INVAL; > > } > > -- > > 1.7.1 > > > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
Of course, Ian. From: Ian Campbell Date: 2013-07-30 20:28 To: Wei Liu CC: rwxybh; rwxybh@123.com; xen-devel@lists.xen.org Subject: Re: [Xen-devel] [PATCH] Fix function libxl__domain_resume_device_model On Tue, 2013-07-30 at 20:00 +0800, Wei Liu wrote:> On Tue, Jul 30, 2013 at 8:37 AM, rwxybh <rwxybh@126.com> wrote: > > Add a break point in function libxl__domain_resume_device_model > > > > Signed-off-by: rwxybh <rwxybh@126.com> > > Is it OK to use alias rather than real name in SoB? I remember seeing that > author should use real name in SoB but I'm not sure. Ignore this if I'm wrong.I know the Linux guys have been picky about this in the past, although I'm not sure they are 100% consistent (the one I'm thinking of had other surrounding controversy). In any case since rwxybh has previously posted with their real name I think it would be OK to ask for an S-o-b containing it and sidestep having to think about the issue? Bingheng, are you OK with me using the following S-o-b instead of the one above?> Signed-off-by: Bingheng Yan <rwxybh@126.com>Ian.> > > Wei. > > > --- > > tools/libxl/libxl_dom.c | 1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c > > index b38d0a7..3eaf3ae 100644 > > --- a/tools/libxl/libxl_dom.c > > +++ b/tools/libxl/libxl_dom.c > > @@ -985,6 +985,7 @@ int libxl__domain_resume_device_model(libxl__gc *gc, uint32_t domid) > > case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: > > if (libxl__qmp_resume(gc, domid)) > > return ERROR_FAIL; > > + break; > > default: > > return ERROR_INVAL; > > } > > -- > > 1.7.1 > > > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Ian Campbell
2013-Jul-30 13:04 UTC
Re: [PATCH] Fix function libxl__domain_resume_device_model
Thanks. On Tue, 2013-07-30 at 20:39 +0800, rwxybh wrote:> Of course, Ian. > > From: Ian Campbell > Date: 2013-07-30 20:28 > To: Wei Liu > CC: rwxybh; rwxybh@123.com; xen-devel@lists.xen.org > Subject: Re: [Xen-devel] [PATCH] Fix function > libxl__domain_resume_device_model > On Tue, 2013-07-30 at 20:00 +0800, Wei Liu wrote: > > On Tue, Jul 30, 2013 at 8:37 AM, rwxybh <rwxybh@126.com> wrote: > > > Add a break point in function libxl__domain_resume_device_model > > > > > > Signed-off-by: rwxybh <rwxybh@126.com> > > > > Is it OK to use alias rather than real name in SoB? I remember > seeing that > > author should use real name in SoB but I''m not sure. Ignore this if > I''m wrong. > > I know the Linux guys have been picky about this in the past, although > I''m not sure they are 100% consistent (the one I''m thinking of had > other > surrounding controversy). > > In any case since rwxybh has previously posted with their real name I > think it would be OK to ask for an S-o-b containing it and sidestep > having to think about the issue? Bingheng, are you OK with me using > the > following S-o-b instead of the one above? > > > Signed-off-by: Bingheng Yan <rwxybh@126.com> > > Ian. > > > > > > > Wei. > > > > > --- > > > tools/libxl/libxl_dom.c | 1 + > > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > > > diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c > > > index b38d0a7..3eaf3ae 100644 > > > --- a/tools/libxl/libxl_dom.c > > > +++ b/tools/libxl/libxl_dom.c > > > @@ -985,6 +985,7 @@ int > libxl__domain_resume_device_model(libxl__gc *gc, uint32_t domid) > > > case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: > > > if (libxl__qmp_resume(gc, domid)) > > > return ERROR_FAIL; > > > + break; > > > default: > > > return ERROR_INVAL; > > > } > > > -- > > > 1.7.1 > > > > > > > > > > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.xen.org > > > http://lists.xen.org/xen-devel > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel > >