Skip to contentSkip to conversation

docs: add details regarding submitting stable-specific patches

PATCH In review Michael Roth 2 participants 2 messages Jun 12, 2018 – Jun 13, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: add details regarding submitting stable-specific patches

Also add a few more details regarding normal master->stable patch flow.

---
 docs/devel/stable-process.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
docs/devel/stable-process.rst +15 -0
index 98736a9ea4..008fb4f9b4 100644
@@ -56,6 +56,21 @@ There are various ways to get a patch into stable:
   appropriate other people (like the patch author or the relevant maintainer)
   on copy.
 
+Generally patches for a stable release/branch must first be included in the
+master QEMU branch, and from there the stable branch's maintainer will
+cherry-pick/backport the patch. However, occasionally there is a need to
+apply a stable-specific patch, such as a fix from master that isn't easily
+cherry-picked and has been reworked/backported specifically for a stable
+branch, or a fix that's only necessary in the context of a particular stable
+release. In such cases, the patch can be submitted to [email protected]
+using Cc: [email protected] just like a normal stable patch, but tagged
+with a "for-stable" or a "for-<stable-version>" in the subject line to
+indicate that's it's specifically for a stable branch and not master. For
+instance:
+
+  [PATCH for-2.11.2] spapr: make pseries-2.11 the default machine type
+
+
 Stable release process
 ----------------------
 
Signature · 1 line
2.11.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · On Tue, 12 Jun 2018 17:19:23 -0500 Michael Roth <[email protected]>…

Also add a few more details regarding normal master->stable patch flow.

---
 docs/devel/stable-process.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
docs/devel/stable-process.rst +0 -0
index 98736a9ea4..008fb4f9b4 100644
@@ -56,6 +56,21 @@ There are various ways to get a patch into stable:
   appropriate other people (like the patch author or the relevant maintainer)
   on copy.
 

docs/devel/stable-process.rst There are various ways to get a patch into stable: · line 68

Quoted 10 lines
docs/devel/stable-process.rst +10 -0
+Generally patches for a stable release/branch must first be included in the
+master QEMU branch, and from there the stable branch's maintainer will
+cherry-pick/backport the patch. However, occasionally there is a need to
+apply a stable-specific patch, such as a fix from master that isn't easily
+cherry-picked and has been reworked/backported specifically for a stable
+branch, or a fix that's only necessary in the context of a particular stable
+release. In such cases, the patch can be submitted to [email protected]
+using Cc: [email protected] just like a normal stable patch, but tagged
+with a "for-stable" or a "for-<stable-version>" in the subject line to
+indicate that's it's specifically for a stable branch and not master. For

s/that's/that/

docs/devel/stable-process.rst There are various ways to get a patch into stable: · line 76

Quoted 8 lines
docs/devel/stable-process.rst +5 -0
+instance:
+
+  [PATCH for-2.11.2] spapr: make pseries-2.11 the default machine type
+
+
 Stable release process
 ----------------------