Revision 95ecd3df7815b4bc4f9a0f47e1c64d81434715aa authored by Peter Xu on 09 October 2018, 07:45:42 UTC, committed by Michael S. Tsirkin on 05 November 2018, 18:24:02 UTC
There are two callers for vtd_sync_shadow_page_table_range(): one
provided a valid context entry and one not.  Move that fetching
operation into the caller vtd_sync_shadow_page_table() where we need to
fetch the context entry.

Meanwhile, remove the error_report_once() directly since we're already
tracing all the error cases in the previous call.  Instead, return error
number back to caller.  This will not change anything functional since
callers are dropping it after all.

We do this move majorly because we want to do something more later in
vtd_sync_shadow_page_table().

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent 2cc9ddc
History
File Mode Size
accel
audio
backends
block
bsd-user
capstone @ 22ead3e
chardev
contrib
crypto
default-configs
disas
docs
dtc @ 88f1890
fpu
fsdev
gdb-xml
hw
include
io
libdecnumber
linux-headers
linux-user
migration
nbd
net
pc-bios
po
qapi
qga
qobject
qom
replay
roms
scripts
scsi
slirp
stubs
target
tcg
tests
trace
ui
util
.dir-locals.el -rw-r--r-- 75 bytes
.editorconfig -rw-r--r-- 635 bytes
.exrc -rw-r--r-- 220 bytes
.gdbinit -rw-r--r-- 326 bytes
.gitignore -rw-r--r-- 4.6 KB
.gitmodules -rw-r--r-- 1.6 KB
.gitpublish -rw-r--r-- 1.6 KB
.mailmap -rw-r--r-- 2.4 KB
.shippable.yml -rw-r--r-- 1.2 KB
.travis.yml -rw-r--r-- 5.7 KB
CODING_STYLE -rw-r--r-- 6.3 KB
COPYING -rw-r--r-- 17.6 KB
COPYING.LIB -rw-r--r-- 25.8 KB
Changelog -rw-r--r-- 22.6 KB
HACKING -rw-r--r-- 10.2 KB
LICENSE -rw-r--r-- 840 bytes
MAINTAINERS -rw-r--r-- 46.6 KB
Makefile -rw-r--r-- 42.8 KB
Makefile.objs -rw-r--r-- 9.0 KB
Makefile.target -rw-r--r-- 6.6 KB
README -rw-r--r-- 4.7 KB
VERSION -rw-r--r-- 7 bytes
arch_init.c -rw-r--r-- 3.3 KB
balloon.c -rw-r--r-- 3.6 KB
block.c -rw-r--r-- 160.5 KB
blockdev-nbd.c -rw-r--r-- 6.0 KB
blockdev.c -rw-r--r-- 132.4 KB
blockjob.c -rw-r--r-- 14.9 KB
bootdevice.c -rw-r--r-- 9.3 KB
bt-host.c -rw-r--r-- 5.2 KB
bt-vhci.c -rw-r--r-- 4.5 KB
configure -rwxr-xr-x 193.5 KB
cpus-common.c -rw-r--r-- 10.1 KB
cpus.c -rw-r--r-- 66.7 KB
device-hotplug.c -rw-r--r-- 2.6 KB
device_tree.c -rw-r--r-- 14.4 KB
disas.c -rw-r--r-- 17.8 KB
dma-helpers.c -rw-r--r-- 7.9 KB
dump.c -rw-r--r-- 60.5 KB
exec.c -rw-r--r-- 121.5 KB
gdbstub.c -rw-r--r-- 54.7 KB
hmp-commands-info.hx -rw-r--r-- 19.5 KB
hmp-commands.hx -rw-r--r-- 54.3 KB
hmp.c -rw-r--r-- 93.8 KB
hmp.h -rw-r--r-- 8.0 KB
ioport.c -rw-r--r-- 9.0 KB
iothread.c -rw-r--r-- 10.6 KB
job-qmp.c -rw-r--r-- 4.6 KB
job.c -rw-r--r-- 23.7 KB
memory.c -rw-r--r-- 97.1 KB
memory_ldst.inc.c -rw-r--r-- 16.5 KB
memory_mapping.c -rw-r--r-- 10.5 KB
module-common.c -rw-r--r-- 113 bytes
monitor.c -rw-r--r-- 128.3 KB
numa.c -rw-r--r-- 21.0 KB
os-posix.c -rw-r--r-- 8.9 KB
os-win32.c -rw-r--r-- 3.0 KB
qdev-monitor.c -rw-r--r-- 26.6 KB
qdict-test-data.txt -rw-r--r-- 88.4 KB
qemu-bridge-helper.c -rw-r--r-- 11.0 KB
qemu-deprecated.texi -rw-r--r-- 6.0 KB
qemu-doc.texi -rw-r--r-- 91.0 KB
qemu-edid.c -rw-r--r-- 3.4 KB
qemu-ga.texi -rw-r--r-- 3.2 KB
qemu-img-cmds.hx -rw-r--r-- 5.3 KB
qemu-img.c -rw-r--r-- 144.6 KB
qemu-img.texi -rw-r--r-- 30.5 KB
qemu-io-cmds.c -rw-r--r-- 60.5 KB
qemu-io.c -rw-r--r-- 17.5 KB
qemu-keymap.c -rw-r--r-- 7.4 KB
qemu-nbd.c -rw-r--r-- 32.1 KB
qemu-nbd.texi -rw-r--r-- 4.3 KB
qemu-option-trace.texi -rw-r--r-- 932 bytes
qemu-options-wrapper.h -rw-r--r-- 1.0 KB
qemu-options.h -rw-r--r-- 1.4 KB
qemu-options.hx -rw-r--r-- 174.1 KB
qemu-seccomp.c -rw-r--r-- 10.5 KB
qemu-tech.texi -rw-r--r-- 14.0 KB
qemu.nsi -rw-r--r-- 7.1 KB
qemu.sasl -rw-r--r-- 1.8 KB
qmp.c -rw-r--r-- 20.1 KB
qtest.c -rw-r--r-- 21.1 KB
replication.c -rw-r--r-- 2.5 KB
replication.h -rw-r--r-- 5.2 KB
rules.mak -rw-r--r-- 14.3 KB
thunk.c -rw-r--r-- 9.1 KB
tpm.c -rw-r--r-- 5.4 KB
trace-events -rw-r--r-- 8.1 KB
version.rc -rw-r--r-- 790 bytes
vl.c -rw-r--r-- 136.8 KB
win_dump.c -rw-r--r-- 10.8 KB
win_dump.h -rw-r--r-- 365 bytes

README

back to top