Re: [Qemu-discuss] QtEmu 2.0 - GUI for QEMU

2019-02-20 Thread krishnaLee
Carlavilla,I using qemu with some special options like this: "D:\qemu\qemu-system-x86_64.exe" -machine pc-q35-2.9 -pflash "D:\qemu\bios\OVMF_x64_debug.fd" -serial stdio -hda fat:rw:G:\temp -net none 1, I need specify a special machine type, 2, I need specify a special Bios-image, 3, I

Re: [Qemu-discuss] How to check cpu running mode?

2018-08-21 Thread krishnaLee
:31:04, "Jakob Bohm" wrote: >On 18/08/2018 05:59, krishnaLee wrote: >> Jakob: >> I need more help,just now,I'm trigger a page fault in 64-bit mode,see >> this picture: >> https://github.com/krishna116/test/blob/master/test-qemu-in-64bit-mode.png >&g

Re: [Qemu-discuss] How to check cpu running mode?

2018-08-17 Thread krishnaLee
Jakob: I need more help,just now,I'm trigger a page fault in 64-bit mode,see this picture: https://github.com/krishna116/test/blob/master/test-qemu-in-64bit-mode.png so I can write some system mode code accroding to this information, but my follow code seems can't get the right answer, is my

Re: [Qemu-discuss] How to check cpu running mode?

2018-08-17 Thread krishnaLee
it looks excellent code,although I'm not very familiar with ASM code,I will dig into it, thank you,Jakob! by krishna. At 2018-08-17 22:00:40, "Jakob Bohm" wrote: >On 17/08/2018 15:32, Jakob Bohm wrote: >> On 17/08/2018 12:27, krishnaLee wrote: >>> Hi, >&

[Qemu-discuss] How to check cpu running mode?

2018-08-17 Thread krishnaLee
Hi, as to my known,intel x64 cpu can work at 64-bit mode or Compatibility mode, so thery are two kind of x64-mode, I find QEMU can run at each of them, I want to write som C code to check it if it is running at 64-bit mode or Compatibility mode, what's the key? thank you, by krishna.

[Qemu-discuss] question about qemu debug xv6 operation system kernal.

2018-08-16 Thread krishnaLee
Hi, here I find some QEMU-build in commands: https://pdos.csail.mit.edu/6.828/2017/labguide.html I had install default qemu at ubuntu16.04 ,(qemu 2.5.0 monitor),I enter debug mode like this: qemu-system-i386 -hda obj/kern/kernel.img -monitor stdio -gdb tcp::26000 -D qemu.log after enter