summaryrefslogtreecommitdiffstats
path: root/hw/kvm/pci-assign.c
diff options
context:
space:
mode:
authorPeter Maydell2013-01-31 13:50:40 +0100
committerAnthony Liguori2013-02-06 23:37:39 +0100
commit0bc8ce9460c1f51211e797a825432e55327b70c6 (patch)
tree399f562d9eefef192235df41aacdc1fac0a090d0 /hw/kvm/pci-assign.c
parenthw/pxa2xx: Fix transposed crn/crm values for pxa2xx cp14 perf regs (diff)
downloadqemu-0bc8ce9460c1f51211e797a825432e55327b70c6.tar.gz
qemu-0bc8ce9460c1f51211e797a825432e55327b70c6.tar.xz
qemu-0bc8ce9460c1f51211e797a825432e55327b70c6.zip
linux-user: Restore cast to target type in get_user()
Commit 658f2dc97 accidentally dropped the cast to the target type of the value loaded by get_user(). The most visible effect of this would be that the sequence "uint64_t v; get_user_u32(v, addr)" would sign extend the 32 bit loaded value into v rather than zero extending as would be expected for a _u32 accessor. Put the cast back again to restore the old behaviour. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/kvm/pci-assign.c')
0 files changed, 0 insertions, 0 deletions