On Tue, May 21, 2013 at 11:50:30AM +0200, Joerg Roedel wrote:
> Hey Stephen,
> 
> On Mon, May 20, 2013 at 02:24:31PM -0700, Stephen Hemminger wrote:
> > ioperm() inheritance across threads is different in KVM then when run
> > on physical hardware.  The following program runs on physical hardware
> > but get SEGV under KVM.
> > 
> > It appears that the I/O permission bits are not shared between threads
> > in the same way.
> 
> Is this specific to SVM or do you see it on VMX too? My first guess
> would be that the KVM instruction emulator does not check to
> IO-permissions correctly, but that would affect VMX and SVM.
> 
The program segfaults on physical hardware:
# ./a.out 
joining
waiting
beeping
Segmentation fault

--
                        Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to