public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.38-rc6: general protection error inside KVM 64 bits guest
@ 2011-03-05  9:40 Francis Moreau
  2011-03-06 12:42 ` Gleb Natapov
  0 siblings, 1 reply; 19+ messages in thread
From: Francis Moreau @ 2011-03-05  9:40 UTC (permalink / raw)
  To: kvm

[ was post on LKML but try it here since it's more appropriate ]

Hello,

I'm running kernel 2.6.38-rc6 with qemu-kvm 0.12.3.

Doing this inside the guest:

int main(void)
{
	if (ioperm(0x3e0, 4, 1) < 0) {
		perror("ioperm");
		exit(1);
	}

	outb(0, 0x3e0);
	inb(0x3e1);
	printf("exiting succesfully\n");
	return 0;
}

make a general protection error.

Looking for the faulty instruction with gdb and found that's the 'inb'
instruction the culprit.

Running the same program on the host works fine.

Could anybody tell me what's wrong ?

Thanks
-- 
Francis

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-05-27 14:30 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-05  9:40 2.6.38-rc6: general protection error inside KVM 64 bits guest Francis Moreau
2011-03-06 12:42 ` Gleb Natapov
2011-03-06 12:55   ` Avi Kivity
2011-03-06 14:35     ` Gleb Natapov
2011-03-06 15:02       ` Avi Kivity
2011-03-06 15:08         ` Avi Kivity
2011-03-09  7:05           ` Francis Moreau
2011-03-09  9:25             ` Gleb Natapov
2011-03-09  9:26               ` Avi Kivity
2011-03-09  9:28                 ` Francis Moreau
2011-03-09  9:29                   ` Avi Kivity
2011-03-09  9:30               ` Francis Moreau
2011-03-09  9:32                 ` Gleb Natapov
2011-03-09 10:03                   ` Avi Kivity
2011-03-09 10:07                     ` Francis Moreau
2011-05-27 10:22                       ` Francis Moreau
2011-05-27 12:48                         ` Gleb Natapov
2011-05-27 14:30                           ` Francis Moreau
2011-03-06 19:36   ` Francis Moreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox