From owner-freebsd-xen@FreeBSD.ORG Thu Aug 2 09:36:53 2012 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AF1C106566B for ; Thu, 2 Aug 2012 09:36:53 +0000 (UTC) (envelope-from wei.xu.prc@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 11D628FC08 for ; Thu, 2 Aug 2012 09:36:52 +0000 (UTC) Received: by yhfs35 with SMTP id s35so9872117yhf.13 for ; Thu, 02 Aug 2012 02:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YHJvwvfz/nysPS2i10wVsxjN8bvF5+xbQ+NbqAxnoe4=; b=eRAEQ8J+fiMenWMPoRV0Qz4yvd5/h8uYdDWY4BqdLfjtDnn4Y5M6jxRnfGgm9ekR5X n75ICthaV9pLiV9YO3K4q5E33MuipLwzAwnJ9TniZtzPs6G8BH6ae4VZzPxD7jgTzQHx AKDgp87SQFrtIh+MK+6jePf1cqRAkw+pQusvfoN6xM93FgjEFvslJOZBBe0M3mgZ0fv+ AMhgLcqsUy/MB4BHEjCVZal8uLGjey53ZbEV2eXbBXLAKjSYTjnlV1md1cns9BekV1R5 IjFRgYbYj9ypn79WraxvnKPJO7hZR72x0AUtGlaEug+cvvx7j/nuDuu4eMvdyvfxLxKf pMnA== MIME-Version: 1.0 Received: by 10.42.29.4 with SMTP id p4mr3002935icc.30.1343900211706; Thu, 02 Aug 2012 02:36:51 -0700 (PDT) Received: by 10.64.33.8 with HTTP; Thu, 2 Aug 2012 02:36:51 -0700 (PDT) In-Reply-To: <1343844148.5229.1.camel@powernoodle.corp.yahoo.com> References: <1343844148.5229.1.camel@powernoodle.corp.yahoo.com> Date: Thu, 2 Aug 2012 17:36:51 +0800 Message-ID: From: Wei Xu To: Sean Bruno Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-xen@freebsd.org" Subject: Re: Compiling error for amd64 on FreeBSD9.0 with XENHVM when include xen console driver. X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2012 09:36:53 -0000 Sean, Thanks for your comments. Current I'm trying to investigate if I can porting the Console Driver to Solaris. I know the uart emulated by QEMU, but it's not my purpose to use it, I just want to try the console driver with Hypervisor itself, Must it bundle with PV? Does XENHVM make sense too? I am not familiar with how the console driver works by comparing to Qemu serial, so I'll be really appreciated if you can give some words about that, thanks. To verify it, I installed a new 32 bit i386 FreeBSD guest domain and compiled the kernel with XEN support, that means already included the console driver, but after I installed the new kernel, system can't boot up after loaded the kernel, both the Xen and the Dom0 are 64 bit, so i guess maybe it can't work for 64bit Hypervisor and Dom0, I wonder how can I verify the console driver? Regards, Wei On Thu, Aug 2, 2012 at 2:02 AM, Sean Bruno wrote: > On Tue, 2012-07-31 at 22:32 -0700, Wei Xu wrote: > > Hi All, > > I'm trying to compile new kernel with Xen Console driver on AMD 64 > > platform, it's not included by default, > > I got compile error like this , I checked the code and i386 has the > > pc_ipi_to_irq but amd64 doesn't, > > look like it hasn't been experience with amd64, is there anyone know > > whether it can work? thanks. > > > > Since there's no PV support for amd64 yet. I don't think you need the > console driver. QEMU will emulate the uart(4) device for you and > freebsd will use the device as its serial console. > > From the dom0, you would run "xm console ". Is this what you > mean to do? > > Sean > >