[PATCH 4/5] qemu: Fix matching for read/write firmware