linux-user: implement device mapper ioctls
This patch implements all ioctls currently implemented by device mapper,enabling us to run dmsetup and kpartx inside of linux-user.
Signed-off-by: Alexander Graf <agraf@suse.de>Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user: add struct old_dev_t compat
The compat LOOP_SET_STATUS ioctl uses struct old_dev_t in its passedstruct. That variable type is vastly different between differentarchitectures. Implement wrapping around it so we can use it.
This fixes running arm kpartx on an x86_64 host for me....
linux-user: fix BLK ioctl arguments
Some BLK ioctls passed sizeof(x) into a macro that already did sizeof() onthe passed in argument, rendering the size information inside the ioctl bethe size of the host default integer type.
Signed-off-by: Alexander Graf <agraf@suse.de>...
linux-user: add BLKSSZGET ioctl wrapper
This patch adds an ioctl definition for BLKSSZGET.
linux-user: improve fake /proc/self/stat making `ps` not segfault.
With the current fake /proc/self/stat implementation `ps` issegfaulting because it expects to read PID and argv0 as first andsecond field respectively, with the latter being enclosed between...
linux-user: target_argv is placed on ts->bprm->argv and can't be freed()
TaskState contains linux_bprm struct which encapsulates argv amongother things.argv might be used around the code and is expected to contain validdata. Before this patch, ts->bprm->argv was NULL due to it being...
Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf
Improve interrupt handling priority
The vector interrupt has higher priority than interrupt_level_n.Also check only interrupt_level_n concurency when TL > 0, the traps ofother types may be nested.
Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Fix vector interrupt handling
Don't produce stray irq 5, don't overwrite ivec_data if still busy withprocessing of the previous interrupt.
target-s390x: Update s390x_{tod,cpu}_timer() to use S390CPU
In place of CPUS390XState pass S390CPU as opaque from the new initfn.cpu_interrupt() is anticipated to take a CPUState in the future.
Signed-off-by: Andreas Färber <afaerber@suse.de>Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
View all revisions | View revisions
Also available in: Atom