-
Sam Li authored
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1193 The commit "Use io_uring_register_ring_fd() to skip fd operations" broke when booting a guest with iothread and io_uring. That is because the io_uring_register_ring_fd() call is made from the main thread instead of IOThread where io_uring_submit() is called. It can not be guaranteed to register the ring fd in the correct thread or unregister the same ring fd if the IOThread is disabled. This optimization is not critical so we will revert previous commit. This reverts commit e2848bc5 and 77e3f038. Cc: qemu-stable@nongnu.org Signed-off-by:
Sam Li <faithilikerun@gmail.com>
Message-Id: <20220924144815.5591-1-faithilikerun@gmail.com>
Reviewed-by:
Stefano Garzarella <sgarzare@redhat.com>
Tested-by:
Dario Faggioli <dfaggioli@suse.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>Sam Li authoredResolves: https://gitlab.com/qemu-project/qemu/-/issues/1193 The commit "Use io_uring_register_ring_fd() to skip fd operations" broke when booting a guest with iothread and io_uring. That is because the io_uring_register_ring_fd() call is made from the main thread instead of IOThread where io_uring_submit() is called. It can not be guaranteed to register the ring fd in the correct thread or unregister the same ring fd if the IOThread is disabled. This optimization is not critical so we will revert previous commit. This reverts commit e2848bc5 and 77e3f038. Cc: qemu-stable@nongnu.org Signed-off-by:
Sam Li <faithilikerun@gmail.com>
Message-Id: <20220924144815.5591-1-faithilikerun@gmail.com>
Reviewed-by:
Stefano Garzarella <sgarzare@redhat.com>
Tested-by:
Dario Faggioli <dfaggioli@suse.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading