]> git.proxmox.com Git - mirror_qemu.git/blobdiff - iothread.c
target/s390x: Check reserved bits of VFMIN/VFMAX's M5
[mirror_qemu.git] / iothread.c
index 529194a566d3ced2f7902f6541c2007ab69512e7..b41c305bd967a174155beacce56d8e43882b7ea7 100644 (file)
 #include "qemu/rcu.h"
 #include "qemu/main-loop.h"
 
-typedef ObjectClass IOThreadClass;
-
-DECLARE_CLASS_CHECKERS(IOThreadClass, IOTHREAD,
-                       TYPE_IOTHREAD)
 
 #ifdef CONFIG_POSIX
 /* Benchmark results from 2016 on NVMe SSD drives show max polling times around
@@ -155,8 +151,8 @@ static void iothread_init_gcontext(IOThread *iothread)
 
 static void iothread_set_aio_context_params(EventLoopBase *base, Error **errp)
 {
-    IOThread *iothread = IOTHREAD(base);
     ERRP_GUARD();
+    IOThread *iothread = IOTHREAD(base);
 
     if (!iothread->ctx) {
         return;