]> git.proxmox.com Git - qemu.git/commit
linux-user: add struct old_dev_t compat
authorAlexander Graf <agraf@suse.de>
Tue, 31 Jan 2012 18:44:41 +0000 (19:44 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 6 Apr 2012 15:49:58 +0000 (18:49 +0300)
commit6083abd9aa134c9b0804e584f8279f54e6c90a1c
tree8e142aa5564218708c8670513414c37b8694c473
parent56e904ecb2018e30b10e9ec846635ff3b1e1d923
linux-user: add struct old_dev_t compat

The compat LOOP_SET_STATUS ioctl uses struct old_dev_t in its passed
struct. That variable type is vastly different between different
architectures. Implement wrapping around it so we can use it.

This fixes running arm kpartx on an x86_64 host for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall_types.h
thunk.c
thunk.h