Pull request (v2)
I dropped the zoned storage patches that had CI failures. This pull request only contains fixes now. -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmRGwoIACgkQnKSrs4Gr c8jyeAf+JqYgJ0sG7rkYwGNUnmdyzjcZh8sokmIoR0a1VbFjpG54QqvvsSdrtZ5V +XdYPgn3ASqyw6/737chw8BBQ1YQEtALCXCk9vx2/Vpmmd6NUkJcxTLvV17o8wit asMO14R8p4b/9NUbRnMA+OcnJ1R0y0nKaw0fK4v2DjCN3Uy7b7zJ5Xb5Mg1lkrN6 RCB6uobWwN58LqY90lN2m1EMvBy0hhI5P1wDjcuZjG1/GnnvVzrIVMOC0ddiLgRH 0vh9MvdSjOwkdM1J9eJyeijfyEjKS9e/E/c4WrjUs+gH5wcb9zNMNFOGeG7Ih2U0 wEUIpe2y3YjSHTSTGZLYGguCGmJPZQ== =MKCk -----END PGP SIGNATURE----- Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging Pull request (v2) I dropped the zoned storage patches that had CI failures. This pull request only contains fixes now. # -----BEGIN PGP SIGNATURE----- # # iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmRGwoIACgkQnKSrs4Gr # c8jyeAf+JqYgJ0sG7rkYwGNUnmdyzjcZh8sokmIoR0a1VbFjpG54QqvvsSdrtZ5V # +XdYPgn3ASqyw6/737chw8BBQ1YQEtALCXCk9vx2/Vpmmd6NUkJcxTLvV17o8wit # asMO14R8p4b/9NUbRnMA+OcnJ1R0y0nKaw0fK4v2DjCN3Uy7b7zJ5Xb5Mg1lkrN6 # RCB6uobWwN58LqY90lN2m1EMvBy0hhI5P1wDjcuZjG1/GnnvVzrIVMOC0ddiLgRH # 0vh9MvdSjOwkdM1J9eJyeijfyEjKS9e/E/c4WrjUs+gH5wcb9zNMNFOGeG7Ih2U0 # wEUIpe2y3YjSHTSTGZLYGguCGmJPZQ== # =MKCk # -----END PGP SIGNATURE----- # gpg: Signature made Mon 24 Apr 2023 06:55:14 PM BST # gpg: using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full] # gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" [full] * tag 'block-pull-request' of https://gitlab.com/stefanha/qemu: tracetool: use relative paths for '#line' preprocessor directives block/dmg: Declare a type definition for DMG uncompress function Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
commit
3f1b44bdc1
@ -31,11 +31,8 @@
|
||||
#include "qemu/memalign.h"
|
||||
#include "dmg.h"
|
||||
|
||||
int (*dmg_uncompress_bz2)(char *next_in, unsigned int avail_in,
|
||||
char *next_out, unsigned int avail_out);
|
||||
|
||||
int (*dmg_uncompress_lzfse)(char *next_in, unsigned int avail_in,
|
||||
char *next_out, unsigned int avail_out);
|
||||
BdrvDmgUncompressFunc *dmg_uncompress_bz2;
|
||||
BdrvDmgUncompressFunc *dmg_uncompress_lzfse;
|
||||
|
||||
enum {
|
||||
/* Limit chunk sizes to prevent unreasonable amounts of memory being used
|
||||
|
@ -51,10 +51,10 @@ typedef struct BDRVDMGState {
|
||||
z_stream zstream;
|
||||
} BDRVDMGState;
|
||||
|
||||
extern int (*dmg_uncompress_bz2)(char *next_in, unsigned int avail_in,
|
||||
char *next_out, unsigned int avail_out);
|
||||
typedef int BdrvDmgUncompressFunc(char *next_in, unsigned int avail_in,
|
||||
char *next_out, unsigned int avail_out);
|
||||
|
||||
extern int (*dmg_uncompress_lzfse)(char *next_in, unsigned int avail_in,
|
||||
char *next_out, unsigned int avail_out);
|
||||
extern BdrvDmgUncompressFunc *dmg_uncompress_bz2;
|
||||
extern BdrvDmgUncompressFunc *dmg_uncompress_lzfse;
|
||||
|
||||
#endif
|
||||
|
@ -12,6 +12,8 @@ __maintainer__ = "Stefan Hajnoczi"
|
||||
__email__ = "stefanha@redhat.com"
|
||||
|
||||
|
||||
import os.path
|
||||
|
||||
from tracetool import out
|
||||
|
||||
|
||||
@ -45,7 +47,7 @@ def generate_h(event, group):
|
||||
args=event.args,
|
||||
event_id="TRACE_" + event.name.upper(),
|
||||
event_lineno=event.lineno,
|
||||
event_filename=event.filename,
|
||||
event_filename=os.path.relpath(event.filename),
|
||||
fmt=event.fmt.rstrip("\n"),
|
||||
argnames=argnames)
|
||||
|
||||
|
@ -12,6 +12,8 @@ __maintainer__ = "Stefan Hajnoczi"
|
||||
__email__ = "stefanha@redhat.com"
|
||||
|
||||
|
||||
import os.path
|
||||
|
||||
from tracetool import out
|
||||
|
||||
|
||||
@ -53,7 +55,7 @@ def generate_h(event, group):
|
||||
' }',
|
||||
cond=cond,
|
||||
event_lineno=event.lineno,
|
||||
event_filename=event.filename,
|
||||
event_filename=os.path.relpath(event.filename),
|
||||
name=event.name,
|
||||
fmt=event.fmt.rstrip("\n"),
|
||||
argnames=argnames)
|
||||
|
@ -12,6 +12,8 @@ __maintainer__ = "Stefan Hajnoczi"
|
||||
__email__ = "stefanha@redhat.com"
|
||||
|
||||
|
||||
import os.path
|
||||
|
||||
from tracetool import out
|
||||
|
||||
|
||||
@ -41,7 +43,7 @@ def generate_h(event, group):
|
||||
' }',
|
||||
cond=cond,
|
||||
event_lineno=event.lineno,
|
||||
event_filename=event.filename,
|
||||
event_filename=os.path.relpath(event.filename),
|
||||
name=event.name,
|
||||
fmt=event.fmt.rstrip("\n"),
|
||||
argnames=argnames)
|
||||
|
Loading…
Reference in New Issue
Block a user