On 13/06/2018 19:16, Eduardo Habkost wrote: >> Second, for user-mode emulation it makes sense to allow flipping of >> OSPKE and OSXSAVE, because that corresponds to different behaviors of >> the underlying kernels. There have been bugs in fact with programs that >> incorrectly tested XSAVE instead of OSXSAVE, so it's worthwhile to let >> the user test both configurations. > > However, "-cpu ...,-osxsave" has no effect today (user-mode QEMU > unconditionally sets OSXSAVE), so that would be a new feature.
Yes, understood. Paolo > I assume this means I don't need to drop the osxsave patch from > my queue, either. > >> So to sum up, the default for QEMU user-mode emulation should be >> OSXSAVE=XSAVE and OSPKE=0. > Thanks!