Skip to contentSkip to conversation

libxl: Fix comment for LIBXL_HAVE_VMTRACE_BUF_KB

PATCH In review Petr Beneš 3 participants 5 messages Feb 13, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 libxl: Fix comment for LIBXL_HAVE_VMTRACE_BUF_KB

From: Petr Beneš <[email protected]>

It's located in libxl_domain_build_info, not libxl_domain_create_info.

---
 tools/include/libxl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/include/libxl.h +1 -1
index f1652b1664..46bc774126 100644
@@ -519,7 +519,7 @@
 #define LIBXL_HAVE_PHYSINFO_CAP_VMTRACE 1
 
 /*
- * LIBXL_HAVE_VMTRACE_BUF_KB indicates that libxl_domain_create_info has a
+ * LIBXL_HAVE_VMTRACE_BUF_KB indicates that libxl_domain_build_info has a
  * vmtrace_buf_kb parameter, which allows to enable pre-allocation of
  * processor tracing buffers of given size.
  */
Signature · 1 line
2.34.1
#2 lore raw
Quoted 7 lines · Jan Beulich
Quoted 4 lines · Petr Beneš

From: Petr Beneš <[email protected]>

It's located in libxl_domain_build_info, not libxl_domain_create_info.

Quoted 8 lines
Quoted 2 lines

Any reason you didn't also add the Fixes: tag that Anthony suggested to put there (for me to recognize that this may need backporting; didn't check yet when that earlier commit went in)?

Jan

Apologies. No other reason that it's my first experience with creating v2 patch and I honestly didn't know that the "Fixes: tag" suggestion was directed at me. How should I proceed from here?

P.

#3 lore raw
Quoted 10 lines · Petr Beneš
Quoted 10 lines · Jan Beulich
Quoted 6 lines · Petr Beneš

From: Petr Beneš <[email protected]>

It's located in libxl_domain_build_info, not libxl_domain_create_info.

Quoted 7 lines
Quoted 3 lines

Any reason you didn't also add the Fixes: tag that Anthony suggested to put there (for me to recognize that this may need backporting; didn't check yet when that earlier commit went in)?

Apologies. No other reason that it's my first experience with creating v2 patch and I honestly didn't know that the "Fixes: tag" suggestion was directed at me. How should I proceed from here?

I'll try to remember to insert it while committing.

Jan

#4 lore raw
Quoted 15 lines · Jan Beulich
Quoted 10 lines · Petr Beneš
Quoted 10 lines · Jan Beulich
Quoted 6 lines · Petr Beneš

From: Petr Beneš <[email protected]>

It's located in libxl_domain_build_info, not libxl_domain_create_info.

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

Any reason you didn't also add the Fixes: tag that Anthony suggested to put there (for me to recognize that this may need backporting; didn't check yet when that earlier commit went in)?

Apologies. No other reason that it's my first experience with creating v2 patch and I honestly didn't know that the "Fixes: tag" suggestion was directed at me. How should I proceed from here?

Hi Petr,

In this case Jan will try to take care of that, if you are interested on how to do that, the section ‘1.2 The commit message’ of https://xenbits.xen.org/docs/unstable/process/sending-patches.html
will explain how to setup git to have the correct configuration for the fixes tag, afterwards you can just:

1) take the SHA of the commit who introduced the issue:
git blame -L<line num from>,<line num to> -- <path to the file>

2) Get the Fixes tag to be put in the commit message:
git show --pretty=fixes <SHA>

You will see as first line something along the line: “Fixes: 6e9ccda5e475 (“bla bla bla bla bla bla")"

There could be better git command to obtain the same thing, but I always use the above.

Cheers,
Luca