repo.or.cz
/
qemu
/
ar7.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
vfio: use matching sizeof type
2024-01-05
Z
h
enzhong Duan
vfio/
c
ontainer: Renam
e
vfio_init_
c
ontaine
r
t
o
vf
i
o_set_io
m
mu
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhen
z
hong
Duan
d
o
cs/devel: Add VFIO iommufd ba
c
kend documentation
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong
Dua
n
v
f
io: Introduce
a hel
p
er function to initialize
V
F
I
OD
e
v
i
ce
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzho
n
g
Duan
v
fio
/
c
c
w
: Move
V
FIODev
i
c
e
ini
t
ialization
s
i
n
vfio_ccw_ins
t
an
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhe
n
z
hong Duan
v
f
io/ap: M
o
ve VFIODevice initi
a
lizations i
n
vfio_ap_inst
a
nce
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong
Duan
vfio/platf
o
rm: Move VFIODevice initializations
in vfio_platf
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Z
henzhong D
u
an
vfio/p
c
i
: Move VFIODevice initializations in vfio_instance_init
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhen
z
ho
n
g
Duan
vfio: Make VFIOContainerBase
poiner parameter const
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zh
e
nzhong Duan
vf
i
o/ccw
:
Make vfio
c
dev p
r
e-openable by passing
a
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzho
n
g Duan
vfio/ccw:
Allow the se
l
ection of
a giv
e
n iom
m
u backend
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Z
henz
h
ong
D
uan
vfio/ap: Ma
k
e
v
fio c
d
ev pr
e
-
o
pen
a
b
le
by
pas
s
ing
a
file
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
vfio/ap: Allow
the selecti
o
n
o
f
a given iom
m
u backend
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
v
f
i
o/platform: Make
v
fio cdev pre-openab
l
e by pas
s
ing
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenz
h
ong Du
a
n
v
fio/plat
f
o
r
m: Allow the sel
e
ction of a given
iom
m
u
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
vf
i
o/pci: Make vfio cdev pre-opena
b
l
e
by pa
s
sing a
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhon
g
Duan
vfi
o
/i
o
mmufd: Enable pci hot
r
eset thr
o
ugh i
o
mmufd
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Z
hen
z
hong Dua
n
vfio/pci
:
I
ntroduc
e
a vfio pci hot reset int
e
rface
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong
Duan
vfio/pci: Extract
o
u
t a helpe
r
vfio_pci_g
e
t_pci_hot_res
e
t_info
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Dua
n
vfio/iommufd: Add s
u
pport for
i
ova_ran
g
e
s and pgsi
z
es
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenz
h
ong Duan
v
f
io/i
o
m
mufd:
Relax assert check f
o
r iommufd backend
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhen
z
hong
Duan
vfio/common: retu
r
n early if space is
n
'
t
em
p
ty
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Z
h
enzhong Du
a
n
v
fio/spapr
:
Move hostwin_li
s
t into s
p
apr contai
n
er
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Z
he
n
zhong
D
uan
vfio/spapr: Move prereg
_
listener into s
p
apr co
n
tai
n
er
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong
Duan
vfio/spapr: switch to s
p
apr
I
OMMU BE ad
d
/del_se
c
tion_window
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Z
h
e
n
z
h
ong
D
u
a
n
vfio/s
p
a
p
r: I
n
troduce spapr backend and target i
n
terface
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
vf
i
o/conta
i
ner: Move iova_ran
g
es to base container
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
v
f
io/container: Move vrd
l
_list to ba
s
e co
n
tainer
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zh
e
nzhong Duan
v
f
io/containe
r
: M
o
ve per container device
list in base
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzh
o
n
g
Duan
vfio
/
c
o
mmon: Intr
o
duc
e
vfio_co
n
tainer_init/dest
r
oy
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Z
henzhong Duan
v
f
io/container:
I
ntroduce
a empty VF
I
OIOMMUOp
s
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-12-19
Zh
e
n
zh
o
ng
Dua
n
vfio: Introduce base object for
V
FIOContainer a
n
d targeted
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-11-06
Zhenzhong Duan
v
f
i
o
/
c
o
m
mon:
M
ove v
f
io_h
o
st_w
i
n_add/de
l
into spapr
.
c
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-11-06
Zhenzhong D
u
an
vf
i
o/spapr: Ma
k
e vfio_spapr_create/
r
emo
v
e_
w
i
ndow static
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-11-06
Z
henzhong Duan
v
f
i
o/contai
n
er: Mov
e
spapr specific init/dein
i
t into
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-11-06
Zhenzhong
D
uan
vfio/container: Move vfio_co
n
tainer
_
add/d
e
l_section_window
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-11-06
Zhenzhon
g
Duan
vfio/contain
e
r
:
Mo
v
e IBM EE
H
r
e
l
ate
d
functions i
n
to
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzhon
g
D
u
a
n
vfio/ccw: Remove redundant def
i
nition of TYPE_VFIO_
C
C
W
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-10-18
Zh
e
nzho
n
g Duan
v
f
io/ap: Remove poin
t
less a
p
d
e
v vari
a
ble
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzhong Duan
v
f
io
/
pci: Fix a pote
n
tial memory leak in vfio_li
s
tener_regio
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzhong Duan
vfi
o
/common: Introdu
c
e a global VFIODevice li
s
t
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzhong Duan
vfio/common
:
St
o
r
e
the
pa
r
e
n
t container
in VFI
O
Device
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzhong Duan
vf
i
o/
c
ommon: Introduc
e
a per containe
r
de
v
ice list
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzh
o
ng Duan
vfio/c
o
mmon
:
Move VFIO reset handler regi
s
tration t
o
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-10-18
Z
h
e
n
zhon
g
Duan
vfio/common
:
Extract out vfio_kvm_d
e
vi
c
e_
[
add/del]_fd
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-10-18
Zhen
z
hong Duan
linux
-
headers: Add iommufd
.
h
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-10-05
Zhenzho
n
g Duan
vfio/p
c
i:
r
ename v
f
io_put_device to vfio_pci_put_device
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-07-10
Z
h
enzho
n
g
Duan
vf
i
o/
m
igration:
Return bool type for vfi
o
_migra
t
i
o
n_realize()
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-07-10
Zh
e
nzhong Duan
vfio/mi
g
ration: Remove print of "Migration disabled"
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-07-10
Zhenzhon
g
Duan
vfio/migra
t
ion: Free resources when v
f
io_migrat
i
on_realize
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-07-10
Z
h
enzhong Duan
vfio/migrat
i
o
n: Ch
a
nge v
I
O
MMU block
e
r
fr
o
m
g
lobal to
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-07-10
Z
henzhong D
u
an
vfio/pci: Disable I
N
Tx in vfio_r
e
alize
error
p
a
th
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-06-30
Zhenzhong Duan
vfio/pci: Free le
a
ked timer in
vfio
_
real
i
ze
e
rror
p
a
th
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-06-30
Zhenzhong Dua
n
vfi
o
/
p
ci: Fix a seg
f
ault
in vfio_realize
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-06-26
Zhenzhong Duan
intel_i
o
mmu: Fix ad
d
ress s
p
a
ce unmap
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-06-26
Zhenzhong Duan
i
n
tel
_
iommu: Fix fl
a
g chec
k
i
n
replay
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-06-26
Z
henz
h
ong Duan
in
t
el_iommu
:
Fix a po
t
e
n
tia
l
iss
u
e in VFIO dirty page
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-05-24
Zh
e
nzhong Duan
v
f
io
/
pci: Fix a use-after-free issue
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-03-03
Zhenzhong Duan
memory: Optimize
r
eplay
o
f gues
t
mapping
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-02-06
Zhenzhong Du
a
n
multifd:
F
i
x flush
o
f
z
ero copy page send r
e
q
uest
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-02-06
Zhenz
h
ong
D
uan
multi
f
d:
Fix a ra
c
e
o
n reading Mu
l
tiFDPage
s
_t
.
blo
c
k
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2023-02-06
Zhenzhong Duan
migration/di
r
tyrate: Show sample p
a
ges only in p
a
ge
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2022-11-08
Zhenzhong
D
u
a
n
mem
o
r
y
:
Fix wrong end
address dump
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2022-06-27
Zh
e
nz
h
o
n
g Duan
v
irtio-iommu
:
Fix mig
r
ation regress
i
on
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2022-06-27
Z
h
e
nzhong Duan
vi
r
t
io-iommu: Fix
the part
i
al copy of p
r
obe request
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2022-06-16
Zhe
n
zhong D
u
a
n
virtio-iom
m
u: Add an a
s
sert ch
e
ck in translate routine
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2022-06-16
Zhenzhong Duan
v
ir
t
io
-
iomm
u
: Use
recur
s
ive lock t
o
avoid deadlock
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2022-06-16
Z
h
enzho
n
g
D
u
a
n
virtio
-
iomm
u
:
A
dd b
y
pass mod
e
support to ass
i
gne
d
device
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2022-06-15
Z
h
enzh
o
ng
Duan
q35:Ena
b
le TSE
G
only when G_SMRAM
E
and TSEG_
E
N bo
t
h
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2022-03-06
Zhenzh
o
ng Duan
p
ci: show
i
d info when pci
BDF confli
c
t
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2021-06-15
Zh
e
nzhong Duan
v
l
: Fix an assert failure in error path
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@intel.com>
commit
|
commitdiff
|
tree
2014-05-07
Z
h
e
nz
h
on
g
Dua
n
qe
m
u-xen
:
free all the pi
r
qs for msi/msix whe
n
d
riv
e
r
.
.
.
Signed-off-by:
Zhenzhong Duan
<zhenzhong.duan@oracle.com>
commit
|
commitdiff
|
tree