[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] qemu 32bit ioctl cmd on 64bit host
From: |
Peter Matthias |
Subject: |
[Qemu-discuss] qemu 32bit ioctl cmd on 64bit host |
Date: |
Sun, 5 Mar 2017 22:58:31 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
Hello,
I make ioctl calls on 32bit guests on an X64 host.
For 32bit positive cmds everthing is o.k.:
27847 openat(AT_FDCWD,"/dev/fb0",O_RDWR) = 7
27847 ioctl(7,17922,-151018232,0,-151018232,330208) = 0
If I use an 32bit negative cmd, qemu tells me the cmd is not implemented:
27847 openat(AT_FDCWD,"/dev/input/event0",O_RDONLY) = 8
27847 ioctl(8,-2145434336,-151018012,0,-151018012,-151018032)Unsupported
ioctl: cmd=0xffffffff801f4520
= -1 errno=38 (Function not implemented)
Not sure where to address this. I think this is a bug. Everthing works
well on native hardware.
qemus used:
qemu-arm, qemu-mipsel, qemu-riscv32 (with native code, of course).
Regards,
Peter
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-discuss] qemu 32bit ioctl cmd on 64bit host,
Peter Matthias <=