balloon: cleanups, fix segfault
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | balloon: Make functions, local vars staticballoon.c balloon.h | +11 | 0 replies | |
| 2/7 | balloon: Add braces around if statementsballoon.c | +4 | 0 replies | |
| 3/7 | balloon: Simplify code flowballoon.c | +7 | 0 replies | |
| 4/7 | virtio-balloon: Separate status handling into separate functionhw/ | +31 | 0 replies | |
| 5/7 | balloon: Separate out stat and balloon handlingballoon.c balloon.h hw/ | +17 | 3 replies | |
| 6/7 | balloon: Fix header comment; add Copyrightballoon.c | +3 | 0 replies | |
| 7/7 | virtio-balloon: Fix header comment; add Copyrighthw/ | +3 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Markus Armbruster |
|---|---|
| Series | R-b |
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/7] balloon: cleanups, fix segfault
'balloon 0' in the monitor causes a segfault. This happens because the function that handles change in balloon values is also tasked with handling stats retrieval from the guest, and it does the retrieval when the balloon target is '0'.
Silly API, replace it. Also do a few cleanups along the way.
Amit Shah (7):
balloon: Make functions, local vars static
balloon: Add braces around if statements
balloon: Simplify code flow
virtio-balloon: Separate status handling into separate function
balloon: Separate out stat and balloon handling
balloon: Fix header comment; add Copyright
virtio-balloon: Fix header comment; add Copyright
balloon.c | 47 +++++++++++++++++++++------------------ balloon.h | 12 ++++------ hw/virtio-balloon.c | 60 +++++++++++++++++++++++++++++--------------------- 3 files changed, 65 insertions(+), 54 deletions(-)
Signature · 1 line
1.7.6