QEMU With E2K User Support
Go to file
Jason Wang 23120b13c6 net: don't use set/get_pointer() in set/get_netdev()
Commit 1ceef9f273 (net: multiqueue
support) tries to use set_pointer() and get_pointer() to set and get
NICPeers which is not a pointer defined in DEFINE_PROP_NETDEV. This
trick works but result a unclean and fragile implementation (e.g
print_netdev and parse_netdev).

This patch solves this issue by not using set/get_pinter() and set and
get netdev directly in set_netdev() and get_netdev(). After this the
parse_netdev() and print_netdev() were no longer used and dropped from
the source.

[Renamed 'err' label to 'out' as suggested by Markus Armbruster.
--Stefan]

Cc: Markus Armbruster <armbru@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-12-19 13:17:02 +00:00
audio
backends Drop superfluous conditionals around g_strdup() 2014-12-10 11:30:55 +03:00
block linux-aio: simplify removal of completed iocbs from the list 2014-12-12 16:57:55 +00:00
bsd-user
default-configs sdhci: Support SDHCI devices on PCI 2014-12-15 17:34:44 +01:00
disas disas/mips: disable unused mips16_to_32_reg_map[] 2014-12-16 12:45:20 +00:00
docs sdhci: Define SDHCI PCI ids 2014-12-15 17:34:44 +01:00
dtc@bc895d6d09
fpu
fsdev
gdb-xml
hw net: don't use set/get_pointer() in set/get_netdev() 2014-12-19 13:17:02 +00:00
include Xtensa updates for 2.3: 2014-12-17 17:31:26 +00:00
libcacard libcacard: fix resource leak 2014-11-14 12:15:40 +01:00
libdecnumber
linux-headers linux-headers: update to 3.18-rc5 2014-11-18 11:24:31 +00:00
linux-user linux-user: Use the 5KEf processor for 64-bit emulation 2014-12-16 12:45:20 +00:00
migration Split the QEMU buffered file code out 2014-12-16 17:47:36 +05:30
net tap: fix vcpu long time io blocking on tap 2014-12-19 11:19:22 +00:00
pc-bios linuxboot: fix loading old kernels 2014-12-15 12:21:03 +01:00
pixman@87eea99e44
po
qapi block/qapi: Add cache information to query-block 2014-12-10 10:31:09 +01:00
qga qga: fix false negative argument passing 2014-11-17 11:41:25 +01:00
qobject qjson: Drop trailing space for pretty formatting 2014-12-10 10:25:30 +01:00
qom
roms Update OpenBIOS images 2014-11-15 13:01:44 +00:00
scripts get_maintainer.pl: Remove the --git-chief-penguins option 2014-12-10 11:46:43 +03:00
slirp
stubs
sysconfigs/target
target-alpha
target-arm target-arm: Check error conditions on kvm_arm_reset_vcpu 2014-12-11 12:07:53 +00:00
target-cris qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
target-i386 qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
target-lm32
target-m68k
target-microblaze qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
target-mips Merge remote-tracking branch 'remotes/lalrae/tags/mips-20141216' into staging 2014-12-17 16:25:21 +00:00
target-moxie
target-openrisc
target-ppc qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
target-s390x qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
target-sh4
target-sparc qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
target-tricore target-tricore: Add instructions of RCR opcode format 2014-12-10 11:13:45 +00:00
target-unicore32
target-xtensa target-xtensa: don't generate dead code 2014-12-17 05:49:32 +03:00
tcg tcg: add separate monitor command to dump opcode counters 2014-12-17 05:49:32 +03:00
tests target-xtensa: test cross-page opcode 2014-12-17 05:49:32 +03:00
trace
ui spice: fix memory leak 2014-12-16 14:15:29 +01:00
util block: Don't add trailing space in "Formating..." message 2014-12-12 16:52:33 +00:00
.exrc
.gitignore
.gitmodules
.mailmap
.travis.yml
accel.c
aio-posix.c block: Use g_new0() for a bit of extra type checking 2014-12-10 10:31:21 +01:00
aio-win32.c block: Use g_new0() for a bit of extra type checking 2014-12-10 10:31:21 +01:00
arch_init.c migration: static variables will not be reset at second migration 2014-11-20 18:17:22 +05:30
async.c block: Use g_new0() for a bit of extra type checking 2014-12-10 10:31:21 +01:00
balloon.c
block.c block: Don't add trailing space in "Formating..." message 2014-12-12 16:52:33 +00:00
blockdev-nbd.c nbd: Change external interface to BlockBackend 2014-12-10 10:31:12 +01:00
blockdev.c blockdev: check for BLOCK_OP_TYPE_INTERNAL_SNAPSHOT 2014-12-10 10:31:13 +01:00
blockjob.c
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure configure: Replace which(1) with "has" 2014-12-10 11:35:36 +03:00
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-exec.c cpu-exec: invalidate nocache translation if they are interrupted 2014-12-15 12:21:02 +01:00
cpus.c cpus: make icount warp behave well with respect to stop/cont 2014-12-15 12:21:02 +01:00
cputlb.c qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
device_tree.c
device-hotplug.c
disas.c
dma-helpers.c
dump.c
exec.c exec: add wrapper for host pointer access 2014-12-16 17:47:35 +05:30
gdbstub.c Add the "-semihosting-config" option. 2014-12-11 12:07:48 +00:00
HACKING
hmp-commands.hx
hmp.c block/hmp: Allow node-name in 'info block' 2014-12-10 10:31:11 +01:00
hmp.h
iohandler.c
ioport.c
iothread.c
kvm-all.c coverity/s390x: avoid false positive in kvm_irqchip_add_adapter_route 2014-12-15 12:21:01 +01:00
kvm-stub.c pc: kvm: check if KVM has free memory slots to avoid abort() 2014-11-23 12:11:29 +02:00
LICENSE
main-loop.c
MAINTAINERS MAINTAINERS: Update for migrated migration code 2014-12-16 17:47:36 +05:30
Makefile
Makefile.objs Start migrating migration code into a migration directory 2014-12-16 17:47:36 +05:30
Makefile.target
memory_mapping.c
memory.c memory: expose alignment used for allocating RAM as MemoryRegion API 2014-11-23 12:11:30 +02:00
module-common.c
monitor.c tcg: add separate monitor command to dump opcode counters 2014-12-17 05:49:32 +03:00
nbd.c nbd: Use BlockBackend internally 2014-12-10 10:31:12 +01:00
numa.c
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json qapi-schema: fix typo about change-vnc-password 2014-12-10 11:51:08 +03:00
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c Drop superfluous conditionals around qemu_opts_del() 2014-12-10 11:27:02 +03:00
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi block: vhdx - change .vhdx_create default block state to ZERO 2014-12-12 15:42:49 +00:00
qemu-img-cmds.hx
qemu-img.c qemu-img: Check create_opts before image amendment 2014-12-10 10:31:20 +01:00
qemu-img.texi
qemu-io-cmds.c qemu-io: Add sigraise command 2014-12-12 15:48:26 +00:00
qemu-io.c qemu-io: Allow explicitly specifying format 2014-12-10 10:31:12 +01:00
qemu-log.c qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
qemu-nbd.c qemu-nbd: Use BlockBackend where reasonable 2014-12-10 10:31:12 +01:00
qemu-nbd.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx target-arm queue: 2014-12-11 16:47:23 +00:00
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c - Migration and linuxboot fixes for 2.2 regressions 2014-12-15 16:43:42 +00:00
qemu.nsi
qemu.sasl
qmp-commands.hx qmp-command.hx: add missing docs for migration capabilites 2014-12-16 17:47:35 +05:30
qmp.c
qtest.c
README
rules.mak
savevm.c
softmmu_template.h
spice-qemu-char.c spice: remove spice-experimental.h include 2014-12-16 14:15:29 +01:00
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
tpm.c
trace-events
translate-all.c Xtensa updates for 2.3: 2014-12-17 17:31:26 +00:00
translate-all.h
user-exec.c
VERSION Open 2.3 development tree 2014-12-09 21:48:34 +00:00
version.rc
vl.c target-arm queue: 2014-12-11 16:47:23 +00:00
xen-common-stub.c
xen-common.c
xen-hvm-stub.c
xen-hvm.c
xen-mapcache.c

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team