I don't think qemu has support for directly loading HURD kernel... and
looks up the manpage and the man page says '-kernel' can be any kernel
in multiboot format. Maybe most parts are already ready in qemu /
debootstrap side too.

Cool.

At Wed, 22 Feb 2012 19:06:17 +1100,
Dmitry Smirnov wrote:
> 
> Author: Dmitry Smirnov <only...@member.fsf.org>
> Last-Update: 2012-02-22
> Forwarded: no
> Description: partial support for Gnu Hurd "hurd-i386"
>  This patch help to set qemu/kvm arch for "hurd-i386"
>  architecture to prevent error
>  "Your architecture hurd-i386 does not seem to be supported"
>  
> 
> --- a/qemuarch.c
> +++ b/qemuarch.c
> @@ -121,8 +121,10 @@
>      return "qemu-system-mips";
>    else if (!strcmp(arch, "mipsel"))
>      return "qemu-system-mipsel";
> -  else if (!strcmp(arch, "i386") ||
> -        !strcmp(arch, "amd64"))
> +  else if (!strcmp(arch, "i386")
> +        || !strcmp(arch, "amd64")
> +        || !strcmp(arch, "hurd-i386")
> +       )
>      {
>        /* we're leaking this memory, but don't care too much */
>        char* host_arch = get_host_dpkg_arch();
> @@ -143,6 +145,8 @@
>        else
>       return "qemu-system-x86_64";
>      }
> +  else if (!strcmp(arch, "hurd-i386"))
> +    return "qemu";
>    else if (!strcmp(arch, "powerpc"))
>      return "qemu-system-ppc";
>    else if (!strcmp(arch, "sparc"))
> @@ -160,7 +164,8 @@
>        !strcmp(arch, "armel"))
>      return "versatilepb";
>    else if (!strcmp(arch, "i386") ||
> -        !strcmp(arch, "amd64"))
> +        !strcmp(arch, "hurd-i386") ||
> +           !strcmp(arch, "amd64"))
>      return "pc";
>    else if (!strcmp(arch, "mips")||
>          !strcmp(arch, "mipsel"))



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to