Assorted VMX patches
#> - ioemu: Update the address when doing a stosb/stosw/stosl. Without this
#> patch stosb writes req->count times at the same location req->addr. Not
#> exactly the intended semantics.
#
# The string operations should go to the if (req->pdata_valid) clause. # Is pdata_valid==0 for your stos* cases?
Yes. stos* only uses a value parameter (al, ax,or eax), so pdata_valid == 0. Addr, size and count are still valid
Leendert
Quoted 9 lines · Leendert van Doorn
#> - ioemu: Update the address when doing a stosb/stosw/stosl. Without this
#> patch stosb writesreq->counttimes at the same locationreq->addr. Not
#> exactly the intended semantics.
# # The string operations should go to the if (req->pdata_valid) clause. # Is pdata_valid==0 for your stos* cases?Yes. stos* only uses a value parameter (al, ax,or eax), so
pdata_valid== 0. Addr, size and count are still valid
ok - makes sense. Though pdata_valid is generally 1 for string operations (this is always true for the port i/o case), this case is an exception.
-Arun