qemu booting amd64 fbsd
Kostik Belousov
kostikbel at gmail.com
Mon Feb 16 01:50:36 PST 2009
On Sun, Feb 15, 2009 at 10:43:04PM +0100, Roman Divacky wrote:
> hi
>
> I am trying to boot fbsd at amd64 7.1R in qemu-0.9.1_11 but it panics
> early in the boot. usually. sometimes it gets upto the root mounting
> but then hangs...
>
> am I doing something wrong or is this just broken?
>
> is there any other (reliable) way how to boot amd64 fbsd in sw?
I use the patch below for the long time. Not sure whether this is your
case.
--- cpu-exec.c.orig 2008-02-16 18:23:53.134009488 +0200
+++ cpu-exec.c 2008-02-16 18:24:47.127662872 +0200
@@ -452,13 +452,15 @@
svm_check_intercept(SVM_EXIT_INTR);
env->interrupt_request &= ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_VIRQ);
intno = cpu_get_pic_interrupt(env);
- if (loglevel & CPU_LOG_TB_IN_ASM) {
- fprintf(logfile, "Servicing hardware INT=0x%02x\n", intno);
- }
- do_interrupt(intno, 0, 0, 0, 1);
- /* ensure that no TB jump will be modified as
- the program flow was changed */
- BREAK_CHAIN;
+ if (intno != -1) {
+ if (loglevel & CPU_LOG_TB_IN_ASM) {
+ fprintf(logfile, "Servicing hardware INT=0x%02x\n", intno);
+ }
+ do_interrupt(intno, 0, 0, 0, 1);
+ /* ensure that no TB jump will be modified as
+ the program flow was changed */
+ BREAK_CHAIN;
+ }
#if !defined(CONFIG_USER_ONLY)
} else if ((interrupt_request & CPU_INTERRUPT_VIRQ) &&
(env->eflags & IF_MASK) && !(env->hflags & HF_INHIBIT_IRQ_MASK)) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20090216/7874acc9/attachment.pgp
More information about the freebsd-emulation
mailing list