target-arm: use clz32() instead of a for loop
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Merge commit 'linux-user/linux-user-for-upstream' into staging
char: check for initial_reset_issued unnecessary
At init, qemu_chr_reset is always called with initial_reset_issued set to 1.So checking for it to be set is not necessary.
Patchworks-ID: 35286Signed-off-by: Amit Shah <amit.shah@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
char: rename CHR_EVENT_RESET to CHR_EVENT_OPENED
The char event RESET is emitted when a char device is opened.Give it a better name.
Patchworks-ID: 35287Signed-off-by: Amit Shah <amit.shah@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
char: emit the OPENED event only when a new char connection is opened
The OPENED event gets sent also when qemu resets its state initially.The consumers of the event aren't interested in receiving this eventon reset.
Patchworks-ID: 35288Signed-off-by: Amit Shah <amit.shah@redhat.com>...
qdev: add string property.
Patchworks-ID: 35755Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Amit Shah <amit.shah@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
bsd-user: fix breakage by 78cfb07fe0dc556cae662a0fab5fe1bd33daabdb
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Suppress warnings about 'warn_unused_result' attribute directive
bsd-user: FreeBSD update
basic FreeBSD sysarch(2) handlingfixed syscall errno return
Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
x86: add 'static' to please Sparse
View all revisions | View revisions
Also available in: Atom