Skip to content

Commit

Permalink
Merge tag 'v7.0.0' into utm-edition
Browse files Browse the repository at this point in the history
v7.0.0 release
  • Loading branch information
osy committed Apr 22, 2022
2 parents 355b082 + 823a3f1 commit 397bb12
Show file tree
Hide file tree
Showing 458 changed files with 3,369 additions and 1,672 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.c.inc diff=c
*.h.inc diff=c
*.m diff=objc
*.py diff=python
1 change: 1 addition & 0 deletions .gitlab-ci.d/custom-runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ variables:
include:
- local: '/.gitlab-ci.d/custom-runners/ubuntu-20.04-s390x.yml'
- local: '/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml'
- local: '/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch32.yml'
- local: '/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml'
12 changes: 12 additions & 0 deletions .gitlab-ci.d/custom-runners/ubuntu-20.04-s390x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ ubuntu-20.04-s390x-all-linux-static:
tags:
- ubuntu_20.04
- s390x
variables:
DFLTCC: 0
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
- if: "$S390X_RUNNER_AVAILABLE"
Expand All @@ -27,6 +29,8 @@ ubuntu-20.04-s390x-all:
tags:
- ubuntu_20.04
- s390x
variables:
DFLTCC: 0
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
- if: "$S390X_RUNNER_AVAILABLE"
Expand All @@ -43,6 +47,8 @@ ubuntu-20.04-s390x-alldbg:
tags:
- ubuntu_20.04
- s390x
variables:
DFLTCC: 0
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
Expand All @@ -64,6 +70,8 @@ ubuntu-20.04-s390x-clang:
tags:
- ubuntu_20.04
- s390x
variables:
DFLTCC: 0
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
Expand All @@ -84,6 +92,8 @@ ubuntu-20.04-s390x-tci:
tags:
- ubuntu_20.04
- s390x
variables:
DFLTCC: 0
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
Expand All @@ -103,6 +113,8 @@ ubuntu-20.04-s390x-notcg:
tags:
- ubuntu_20.04
- s390x
variables:
DFLTCC: 0
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
when: manual
Expand Down
9 changes: 8 additions & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ Thiemo Seufer <[email protected]> ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
malc <[email protected]> malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>

# Corrupted Author fields
Aaron Larson <[email protected]> [email protected]
Andreas Färber <[email protected]> Andreas Färber <andreas.faerber>
Jason Wang <[email protected]> Jason Wang <jasowang>
Marek Dolata <[email protected]> [email protected] <[email protected]>
Michael Ellerman <[email protected]> [email protected] <[email protected]>
Nick Hudson <[email protected]> [email protected] <[email protected]>

# There is also a:
Expand All @@ -52,7 +56,8 @@ Alexander Graf <[email protected]> <[email protected]>
Anthony Liguori <[email protected]> Anthony Liguori <[email protected]>
Christian Borntraeger <[email protected]> <[email protected]>
Filip Bozuta <[email protected]> <[email protected]>
Frederic Konrad <[email protected]> <[email protected]>
Frederic Konrad <[email protected]> <[email protected]>
Frederic Konrad <[email protected]> <[email protected]>
Greg Kurz <[email protected]> <[email protected]>
Huacai Chen <[email protected]> <[email protected]>
Huacai Chen <[email protected]> <[email protected]>
Expand All @@ -70,6 +75,7 @@ Yongbok Kim <[email protected]> <[email protected]>
# Also list preferred name forms where people have changed their
# git author config, or had utf8/latin1 encoding issues.
Aaron Lindsay <[email protected]>
Aaron Larson <[email protected]>
Alexey Gerasimenko <[email protected]>
Alex Chen <[email protected]>
Alex Ivanov <[email protected]>
Expand Down Expand Up @@ -144,6 +150,7 @@ Pan Nengyuan <[email protected]>
Pavel Dovgaluk <[email protected]>
Pavel Dovgaluk <[email protected]>
Pavel Dovgaluk <[email protected]>
Peter Chubb <[email protected]>
Peter Crosthwaite <[email protected]>
Peter Crosthwaite <[email protected]>
Peter Crosthwaite <[email protected]>
Expand Down
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ jobs:
- TEST_CMD="make check check-tcg V=1"
- CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS},s390x-linux-user"
- UNRELIABLE=true
- DFLTCC=0
script:
- BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$?
- |
Expand Down Expand Up @@ -257,7 +258,7 @@ jobs:
env:
- CONFIG="--disable-containers --audio-drv-list=sdl --disable-user
--target-list-exclude=${MAIN_SOFTMMU_TARGETS}"

- DFLTCC=0
- name: "[s390x] GCC (user)"
arch: s390x
dist: focal
Expand All @@ -269,7 +270,7 @@ jobs:
- ninja-build
env:
- CONFIG="--disable-containers --disable-system"

- DFLTCC=0
- name: "[s390x] Clang (disable-tcg)"
arch: s390x
dist: focal
Expand Down Expand Up @@ -303,3 +304,4 @@ jobs:
- CONFIG="--disable-containers --disable-tcg --enable-kvm
--disable-tools --host-cc=clang --cxx=clang++"
- UNRELIABLE=true
- DFLTCC=0
16 changes: 8 additions & 8 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@ F: include/hw/rtc/sun4v-rtc.h

Leon3
M: Fabien Chouteau <[email protected]>
M: KONRAD Frederic <frederic.konrad@adacore.com>
M: Frederic Konrad <konrad[email protected]>
S: Maintained
F: hw/sparc/leon3.c
F: hw/*/grlib*
Expand Down Expand Up @@ -2507,7 +2507,7 @@ F: scsi/*

Block Jobs
M: John Snow <[email protected]>
M: Vladimir Sementsov-Ogievskiy <[email protected]>
M: Vladimir Sementsov-Ogievskiy <[email protected]>
L: [email protected]
S: Supported
F: blockjob.c
Expand Down Expand Up @@ -2546,7 +2546,7 @@ T: git https://repo.or.cz/qemu/armbru.git block-next

Dirty Bitmaps
M: Eric Blake <[email protected]>
M: Vladimir Sementsov-Ogievskiy <[email protected]>
M: Vladimir Sementsov-Ogievskiy <[email protected]>
R: John Snow <[email protected]>
L: [email protected]
S: Supported
Expand Down Expand Up @@ -2770,13 +2770,13 @@ F: scripts/*.py
F: tests/*.py

Benchmark util
M: Vladimir Sementsov-Ogievskiy <[email protected]>
M: Vladimir Sementsov-Ogievskiy <[email protected]>
S: Maintained
F: scripts/simplebench/
T: git https://src.openvz.org/scm/~vsementsov/qemu.git simplebench

Transactions helper
M: Vladimir Sementsov-Ogievskiy <[email protected]>
M: Vladimir Sementsov-Ogievskiy <[email protected]>
S: Maintained
F: include/qemu/transactions.h
F: util/transactions.c
Expand Down Expand Up @@ -3360,7 +3360,7 @@ F: block/iscsi-opts.c

Network Block Device (NBD)
M: Eric Blake <[email protected]>
M: Vladimir Sementsov-Ogievskiy <[email protected]>
M: Vladimir Sementsov-Ogievskiy <[email protected]>
L: [email protected]
S: Maintained
F: block/nbd*
Expand Down Expand Up @@ -3456,7 +3456,7 @@ F: block/dmg.c
parallels
M: Stefan Hajnoczi <[email protected]>
M: Denis V. Lunev <[email protected]>
M: Vladimir Sementsov-Ogievskiy <[email protected]>
M: Vladimir Sementsov-Ogievskiy <[email protected]>
L: [email protected]
S: Supported
F: block/parallels.c
Expand Down Expand Up @@ -3615,7 +3615,7 @@ M: Thomas Huth <[email protected]>
R: Wainer dos Santos Moschetta <[email protected]>
R: Beraldo Leal <[email protected]>
S: Maintained
F: .github/lockdown.yml
F: .github/workflows/lockdown.yml
F: .gitlab-ci.yml
F: .gitlab-ci.d/
F: .travis.yml
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.2.90
7.0.0
6 changes: 3 additions & 3 deletions accel/kvm/kvm-all.c
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,7 @@ void kvm_memory_listener_register(KVMState *s, KVMMemoryListener *kml,
{
int i;

kml->slots = g_malloc0(s->nr_slots * sizeof(KVMSlot));
kml->slots = g_new0(KVMSlot, s->nr_slots);
kml->as_id = as_id;

for (i = 0; i < s->nr_slots; i++) {
Expand Down Expand Up @@ -1941,7 +1941,7 @@ int kvm_irqchip_send_msi(KVMState *s, MSIMessage msg)
return virq;
}

route = g_malloc0(sizeof(KVMMSIRoute));
route = g_new0(KVMMSIRoute, 1);
route->kroute.gsi = virq;
route->kroute.type = KVM_IRQ_ROUTING_MSI;
route->kroute.flags = 0;
Expand Down Expand Up @@ -3244,7 +3244,7 @@ int kvm_insert_breakpoint(CPUState *cpu, target_ulong addr,
return 0;
}

bp = g_malloc(sizeof(struct kvm_sw_breakpoint));
bp = g_new(struct kvm_sw_breakpoint, 1);
bp->pc = addr;
bp->use_count = 1;
err = kvm_arch_insert_sw_breakpoint(cpu, bp);
Expand Down
2 changes: 1 addition & 1 deletion accel/tcg/tcg-accel-ops-mttcg.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void mttcg_start_vcpu_thread(CPUState *cpu)
g_assert(tcg_enabled());
tcg_cpu_init_cflags(cpu, current_machine->smp.max_cpus > 1);

cpu->thread = g_malloc0(sizeof(QemuThread));
cpu->thread = g_new0(QemuThread, 1);
cpu->halt_cond = g_malloc0(sizeof(QemuCond));
qemu_cond_init(cpu->halt_cond);

Expand Down
4 changes: 2 additions & 2 deletions accel/tcg/tcg-accel-ops-rr.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ void rr_start_vcpu_thread(CPUState *cpu)
tcg_cpu_init_cflags(cpu, false);

if (!single_tcg_cpu_thread) {
cpu->thread = g_malloc0(sizeof(QemuThread));
cpu->halt_cond = g_malloc0(sizeof(QemuCond));
cpu->thread = g_new0(QemuThread, 1);
cpu->halt_cond = g_new0(QemuCond, 1);
qemu_cond_init(cpu->halt_cond);

/* share a single thread for all cpus with TCG */
Expand Down
4 changes: 2 additions & 2 deletions audio/alsaaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ struct alsa_params_obt {
snd_pcm_uframes_t samples;
};

static void GCC_FMT_ATTR (2, 3) alsa_logerr (int err, const char *fmt, ...)
static void G_GNUC_PRINTF (2, 3) alsa_logerr (int err, const char *fmt, ...)
{
va_list ap;

Expand All @@ -83,7 +83,7 @@ static void GCC_FMT_ATTR (2, 3) alsa_logerr (int err, const char *fmt, ...)
AUD_log (AUDIO_CAP, "Reason: %s\n", snd_strerror (err));
}

static void GCC_FMT_ATTR (3, 4) alsa_logerr2 (
static void G_GNUC_PRINTF (3, 4) alsa_logerr2 (
int err,
const char *typ,
const char *fmt,
Expand Down
4 changes: 2 additions & 2 deletions audio/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ static AudioState *audio_init(Audiodev *dev, const char *name)
audio_validate_opts(dev, &error_abort);
}

s = g_malloc0(sizeof(AudioState));
s = g_new0(AudioState, 1);
s->dev = dev;

QLIST_INIT (&s->hw_head_out);
Expand Down Expand Up @@ -2126,7 +2126,7 @@ void audio_parse_option(const char *opt)

audio_validate_opts(dev, &error_fatal);

e = g_malloc0(sizeof(AudiodevListEntry));
e = g_new0(AudiodevListEntry, 1);
e->dev = dev;
QSIMPLEQ_INSERT_TAIL(&audiodevs, e, next);
}
Expand Down
4 changes: 2 additions & 2 deletions audio/audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ typedef struct QEMUAudioTimeStamp {
uint64_t old_ts;
} QEMUAudioTimeStamp;

void AUD_vlog (const char *cap, const char *fmt, va_list ap) GCC_FMT_ATTR(2, 0);
void AUD_log (const char *cap, const char *fmt, ...) GCC_FMT_ATTR(2, 3);
void AUD_vlog (const char *cap, const char *fmt, va_list ap) G_GNUC_PRINTF(2, 0);
void AUD_log (const char *cap, const char *fmt, ...) G_GNUC_PRINTF(2, 3);

void AUD_register_card (const char *name, QEMUSoundCard *card);
void AUD_remove_card (QEMUSoundCard *card);
Expand Down
6 changes: 3 additions & 3 deletions audio/audio_legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ static void handle_per_direction(

static AudiodevListEntry *legacy_opt(const char *drvname)
{
AudiodevListEntry *e = g_malloc0(sizeof(AudiodevListEntry));
e->dev = g_malloc0(sizeof(Audiodev));
AudiodevListEntry *e = g_new0(AudiodevListEntry, 1);
e->dev = g_new0(Audiodev, 1);
e->dev->id = g_strdup(drvname);
e->dev->driver = qapi_enum_parse(
&AudiodevDriver_lookup, drvname, -1, &error_abort);
Expand Down Expand Up @@ -508,7 +508,7 @@ static void lv_free(Visitor *v)

static Visitor *legacy_visitor_new(void)
{
LegacyPrintVisitor *lv = g_malloc0(sizeof(LegacyPrintVisitor));
LegacyPrintVisitor *lv = g_new0(LegacyPrintVisitor, 1);

lv->visitor.start_struct = lv_start_struct;
lv->visitor.end_struct = lv_end_struct;
Expand Down
4 changes: 2 additions & 2 deletions audio/coreaudio.m
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ static void coreaudio_logstatus (OSStatus status)
AUD_log (AUDIO_CAP, "Reason: %s\n", str);
}

static void GCC_FMT_ATTR (2, 3) coreaudio_logerr (
static void G_GNUC_PRINTF (2, 3) coreaudio_logerr (
OSStatus status,
const char *fmt,
...
Expand All @@ -226,7 +226,7 @@ static void GCC_FMT_ATTR (2, 3) coreaudio_logerr (
coreaudio_logstatus (status);
}

static void GCC_FMT_ATTR (3, 4) coreaudio_logerr2 (
static void G_GNUC_PRINTF (3, 4) coreaudio_logerr2 (
OSStatus status,
const char *typ,
const char *fmt,
Expand Down
6 changes: 3 additions & 3 deletions audio/dsoundaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static void dsound_log_hresult (HRESULT hr)
AUD_log (AUDIO_CAP, "Reason: %s\n", str);
}

static void GCC_FMT_ATTR (2, 3) dsound_logerr (
static void G_GNUC_PRINTF (2, 3) dsound_logerr (
HRESULT hr,
const char *fmt,
...
Expand All @@ -237,7 +237,7 @@ static void GCC_FMT_ATTR (2, 3) dsound_logerr (
dsound_log_hresult (hr);
}

static void GCC_FMT_ATTR (3, 4) dsound_logerr2 (
static void G_GNUC_PRINTF (3, 4) dsound_logerr2 (
HRESULT hr,
const char *typ,
const char *fmt,
Expand Down Expand Up @@ -623,7 +623,7 @@ static void *dsound_audio_init(Audiodev *dev)
{
int err;
HRESULT hr;
dsound *s = g_malloc0(sizeof(dsound));
dsound *s = g_new0(dsound, 1);
AudiodevDsoundOptions *dso;

assert(dev->driver == AUDIODEV_DRIVER_DSOUND);
Expand Down
6 changes: 3 additions & 3 deletions audio/jackaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ static void qjack_buffer_create(QJackBuffer *buffer, int channels, int frames)
buffer->used = 0;
buffer->rptr = 0;
buffer->wptr = 0;
buffer->data = g_malloc(channels * sizeof(float *));
buffer->data = g_new(float *, channels);
for (int i = 0; i < channels; ++i) {
buffer->data[i] = g_malloc(frames * sizeof(float));
buffer->data[i] = g_new(float, frames);
}
}

Expand Down Expand Up @@ -453,7 +453,7 @@ static int qjack_client_init(QJackClient *c)
jack_on_shutdown(c->client, qjack_shutdown, c);

/* allocate and register the ports */
c->port = g_malloc(sizeof(jack_port_t *) * c->nchannels);
c->port = g_new(jack_port_t *, c->nchannels);
for (int i = 0; i < c->nchannels; ++i) {

char port_name[16];
Expand Down
Loading

0 comments on commit 397bb12

Please sign in to comment.