qemu-e2k/include
Emanuele Giuseppe Esposito afe1e8a7b3 job.c: add job_lock/unlock while keeping job.h intact
With "intact" we mean that all job.h functions implicitly
take the lock. Therefore API callers are unmodified.

This means that:
- many static functions that will be always called with job lock held
  become _locked, and call _locked functions
- all public functions take the lock internally if needed, and call _locked
  functions
- all public functions called internally by other functions in job.c will have a
  _locked counterpart (sometimes public), to avoid deadlocks (job lock already taken).
  These functions are not used for now.
- some public functions called only from exernal files (not job.c) do not
  have _locked() counterpart and take the lock inside. Others won't need
  the lock at all because use fields only set at initialization and
  never modified.

job_{lock/unlock} is independent from real_job_{lock/unlock}.

Note: at this stage, job_{lock/unlock} and job lock guard macros
are *nop*

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-Id: <20220926093214.506243-6-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2022-10-07 12:11:41 +02:00
..
authz
block aio-wait.h: introduce AIO_WAIT_WHILE_UNLOCKED 2022-10-07 12:11:41 +02:00
chardev chardev: src buffer const for write functions 2022-09-29 14:38:05 +04:00
crypto
disas
exec accel/tcg: Introduce TARGET_TB_PCREL 2022-10-04 12:13:16 -07:00
fpu
hw Cache CPUClass for use in hot code paths. 2022-10-05 10:17:02 -04:00
io
libdecnumber
migration
monitor monitor: expose monitor_puts to rest of code 2022-10-06 11:53:40 +01:00
net vhost_net: add NetClientState->load() callback 2022-09-02 10:22:39 +08:00
qapi
qemu job.c: add job_lock/unlock while keeping job.h intact 2022-10-07 12:11:41 +02:00
qom
scsi
semihosting semihosting: Allow optional use of semihosting from userspace 2022-09-13 17:18:21 +01:00
standard-headers Update linux headers to v6.0-rc4 2022-09-26 17:23:47 +02:00
sysemu accel/kvm: move kvm_update_guest_debug to inline stub 2022-10-06 11:53:41 +01:00
tcg accel/tcg: Introduce tb_pc and log_pc 2022-10-04 12:13:12 -07:00
ui ui/console: Get tab completion working again in the SDL monitor vc 2022-09-23 13:42:09 +02:00
user
elf.h linux-user: Honor PT_GNU_STACK 2022-09-06 08:04:25 +01:00
glib-compat.h
qemu-io.h
qemu-main.h ui/cocoa: Run qemu_init in the main thread 2022-09-23 14:36:33 +02:00