Skip to contentSkip to conversation

interrupt problem x86_64

Qemu-devel Paolo Minazzi 1 participant 4 messages Aug 12, 2010 – Nov 10, 2016

lore
Share & tools
lore
#0 lore raw

Public bug reported:

Hello.
I'm studing the x86_64 arch to port colinux to this new architecture.

For who does not know, colinux is a port of linux that runs on windows NATIVELY. Colinux is
1) a small windows driver
2) a kernel patched
3) some windows user-space application that talk with linux kernel (network, console, ...)

I have written the more internal part of colinux, that is the code that switch between windows and linux. This is done saving and restore the machine state :
1) CR3
2) IDT
3) registers

The problem I see is that after the switch I see the reboot of my virtual machine. I would say that the new IDT and/or CR3 is not flushed.
My code is written in asm/C so I can follow the code step by step.
I can say exactly the instruction that is broken.

All my code runs nicely on bochs.
I don't have an x86_64 real PC.

If someone wants to repair this bug .... I'm here.

Paolo Minazzi

** Affects: qemu
Importance: Undecided
Status: New

Signature · 33 lines
interrupt problem x86_64
https://bugs.launchpad.net/bugs/616769
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
Hello.
I'm studing the x86_64 arch to port colinux to this new architecture.

For who does not know, colinux is a port of linux that runs on windows NATIVELY. Colinux is
1) a small windows driver
2) a kernel patched
3) some windows user-space application that talk with linux kernel (network, console, ...)

I have written the more internal part of colinux, that is the code that switch between windows and linux.
This is done saving and restore the machine state :
1) CR3
2) IDT
3) registers

The problem I see is that after the switch I see the reboot of my virtual machine.
I would say that the new IDT and/or CR3 is not flushed.
My code is written in asm/C so I can follow the code step by step.
I can say exactly the instruction that is broken.

All my code runs nicely on bochs.
I don't have an x86_64 real PC.

If someone wants to repair this bug .... I'm here.

Paolo Minazzi
#1 lore raw

Which version of QEMU did you use when you encountered this problem? Can you still reproduce this issue with the latest version of QEMU?

** Changed in: qemu
Status: New => Incomplete

Signature · 39 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/616769

Title:
  interrupt problem x86_64

Status in QEMU:
  Incomplete

Bug description:
  Hello.
  I'm studing the x86_64 arch to port colinux to this new architecture.

  For who does not know, colinux is a port of linux that runs on windows NATIVELY. Colinux is
  1) a small windows driver
  2) a kernel patched
  3) some windows user-space application that talk with linux kernel (network, console, ...)

  I have written the more internal part of colinux, that is the code that switch between windows and linux.
  This is done saving and restore the machine state :
  1) CR3
  2) IDT
  3) registers

  The problem I see is that after the switch I see the reboot of my virtual machine.
  I would say that the new IDT and/or CR3 is not flushed.
  My code is written in asm/C so I can follow the code step by step.
  I can say exactly the instruction that is broken.

  All my code runs nicely on bochs.
  I don't have an x86_64 real PC.

  If someone wants to repair this bug .... I'm here.

  Paolo Minazzi

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/616769/+subscriptions
#2 lore raw
In reply to Paolo Minazzi

Hello Thomas,
it happens some years ago and now I'm not able to reproduce it. I'm sorry,
thanks again,
Paolo

Signature · 39 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/616769

Title:
  interrupt problem x86_64

Status in QEMU:
  Incomplete

Bug description:
  Hello.
  I'm studing the x86_64 arch to port colinux to this new architecture.

  For who does not know, colinux is a port of linux that runs on windows NATIVELY. Colinux is
  1) a small windows driver
  2) a kernel patched
  3) some windows user-space application that talk with linux kernel (network, console, ...)

  I have written the more internal part of colinux, that is the code that switch between windows and linux.
  This is done saving and restore the machine state :
  1) CR3
  2) IDT
  3) registers

  The problem I see is that after the switch I see the reboot of my virtual machine.
  I would say that the new IDT and/or CR3 is not flushed.
  My code is written in asm/C so I can follow the code step by step.
  I can say exactly the instruction that is broken.

  All my code runs nicely on bochs.
  I don't have an x86_64 real PC.

  If someone wants to repair this bug .... I'm here.

  Paolo Minazzi

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/616769/+subscriptions
#3 lore raw
In reply to Paolo Minazzi

OK, thanks a lot for your response ... so let's close this bug now.

** Changed in: qemu
Status: Incomplete => Invalid

Signature · 39 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/616769

Title:
  interrupt problem x86_64

Status in QEMU:
  Invalid

Bug description:
  Hello.
  I'm studing the x86_64 arch to port colinux to this new architecture.

  For who does not know, colinux is a port of linux that runs on windows NATIVELY. Colinux is
  1) a small windows driver
  2) a kernel patched
  3) some windows user-space application that talk with linux kernel (network, console, ...)

  I have written the more internal part of colinux, that is the code that switch between windows and linux.
  This is done saving and restore the machine state :
  1) CR3
  2) IDT
  3) registers

  The problem I see is that after the switch I see the reboot of my virtual machine.
  I would say that the new IDT and/or CR3 is not flushed.
  My code is written in asm/C so I can follow the code step by step.
  I can say exactly the instruction that is broken.

  All my code runs nicely on bochs.
  I don't have an x86_64 real PC.

  If someone wants to repair this bug .... I'm here.

  Paolo Minazzi

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/616769/+subscriptions