summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-03-17 11:50:17 +0800
committerAvi Kivity <avi@redhat.com>2009-03-18 15:44:12 +0200
commitf515f6d86f9f0f2b8c4e98ceee5006d74b11baf8 (patch)
tree613fd6b0c7dba14e30e2e74610f778ddfdbbafcd /cpu-exec.c
parentFill config with correct VID/DID (diff)
downloadqemu-kvm-f515f6d86f9f0f2b8c4e98ceee5006d74b11baf8.tar.gz
qemu-kvm-f515f6d86f9f0f2b8c4e98ceee5006d74b11baf8.tar.bz2
qemu-kvm-f515f6d86f9f0f2b8c4e98ceee5006d74b11baf8.zip
Emulate command register for SRIOV virtual function
MMIO enable byte would be checked when enabling virtual function, but in fact, the whole virtual function's command register is hard-wired to zero... So when guest read from command register it would only get 0, specially for MMIO enable bit. And this result in, if guest driver want to do a RMW to the command register, it would always get 0 and override former setting (e.g. unmap MMIO by set the correlated bit to zero)... Then we relay on QEmu to provide a reasonable command register content to guest. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions