From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S88iU-0005DP-AP for qemu-devel@nongnu.org; Thu, 15 Mar 2012 07:19:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S88iN-0006wr-S8 for qemu-devel@nongnu.org; Thu, 15 Mar 2012 07:19:33 -0400 Received: from asmtpout011.mac.com ([17.148.16.86]:37478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S88iN-0006vu-Lf for qemu-devel@nongnu.org; Thu, 15 Mar 2012 07:19:27 -0400 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_QPoxl6t8o98X6X3BVmZJgw)" Received: from nk11p00mm-spool001.mac.com ([10.150.69.51]) by asmtp011.mac.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTP id <0M0X009C8BFRRR40@asmtp011.mac.com> for qemu-devel@nongnu.org; Thu, 15 Mar 2012 11:19:03 +0000 (GMT) Received: from localhost ([17.158.232.252]) by spool001.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0M0X00178BFQRIA0@spool001.mac.com> for qemu-devel@nongnu.org; Thu, 15 Mar 2012 11:19:03 +0000 (GMT) From: Lee Essen Date: Thu, 15 Mar 2012 11:19:03 +0000 (GMT) Message-id: <2541c4b9-fc81-4165-8793-e2bf0151ea33@me.com> Subject: [Qemu-devel] Illumos/SmarOS support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Boundary_(ID_QPoxl6t8o98X6X3BVmZJgw) Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: quoted-printable Resend from different email -- not sure what happened to my first 2 attemp= ts! Hi, I've been working on getting the mainline qemu tree working on SmartOS (il= lumos), the current qemu support seems to be a branch of qemu-kvm and we'v= e been having some problems getting spice working, so moving to the main q= emu tree seemed sensible. Anyway, couple of questions=E2=80=A6 1. Are you happy to accept patches that enable this? =20 - There are a few build related things that don't work =E2=80=A6 assumpti= on of sh being bash, missing -64 argument to dtrace etc.=20 - There are also some dtrace language problems with tracetool (no support= for bool, and self being reserved.)=20 - More fundamentally some object linking issues with dtrace which I'll ne= ed some help to find the best way to resolve. - Specific #ifdef CONFIG_SOLARIS/__sun__ stuff to support differences - ultimately the support for vnic's =E2=80=A6 but I haven't even looked a= t that yet. =EF=BB=BFThe current state is that it's working ok for Windows guests, an= d non-KVM for Linux, but kvm & linux seems to fail, hence question number = 2. 2. The last thing that happens when I try to boot linux with kvm enabled i= s some apic mmio accesses, then it stops at a hlt instruction and never ge= ts going again. Is there something I can enable to help debug this? Or has= anyone else seen similar behaviour? I've run out of places to look. Many thanks, Lee.= --Boundary_(ID_QPoxl6t8o98X6X3BVmZJgw) Content-type: multipart/related; boundary="Boundary_(ID_rC6AAj9DcEacXA2xm9Ju2w)"; type="text/html" --Boundary_(ID_rC6AAj9DcEacXA2xm9Ju2w) Content-type: text/html; charset=windows-1252 Content-transfer-encoding: quoted-printable
Resend from different email -- not sure what happened =
to my first 2 attempts!=0A=0AHi,=0A=0AI've been working on getting the mai=
nline qemu tree working on SmartOS (illumos), the current qemu support see=
ms to be a branch of qemu-kvm and we've been having some problems getting =
spice working, so moving to the main qemu tree seemed sensible.=0A=0AAnywa=
y, couple of questions=85=0A=0A1. Are you happy to accept patches that ena=
ble this?   =0A	- There are a few build related things that don't work =85=
 assumption of sh being bash, missing -64 argument to dtrace etc. =0A	- Th=
ere are also some dtrace language problems with tracetool (no support for =
bool, and self being reserved.) =0A	- More fundamentally some object linki=
ng issues with dtrace which I'll need some help to find the best way to re=
solve.=0A	- Specific #ifdef CONFIG_SOLARIS/__sun__ stuff to support differ=
ences=0A	- ultimately the support for vnic's =85 but I haven't even looked=
 at that yet.=0A=0A	The current state is that it's working ok for Windows =
guests, and non-KVM for Linux, but kvm & linux seems to fail, hence qu=
estion number 2.=0A=0A2. The last thing that happens when I try to boot li=
nux with kvm enabled is some apic mmio accesses, then it stops at a hlt in=
struction and never gets going again. Is there something I can enable to h=
elp debug this? Or has anyone else seen similar behaviour? I've run out of=
 places to look.=0A=0AMany thanks,=0A=0ALee.
= --Boundary_(ID_rC6AAj9DcEacXA2xm9Ju2w)-- --Boundary_(ID_QPoxl6t8o98X6X3BVmZJgw)-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S89Id-00012M-H0 for qemu-devel@nongnu.org; Thu, 15 Mar 2012 07:57:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S89IN-0005sR-RO for qemu-devel@nongnu.org; Thu, 15 Mar 2012 07:56:55 -0400 Received: from mail-lpp01m010-f45.google.com ([209.85.215.45]:63637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S89IN-0005sC-HD for qemu-devel@nongnu.org; Thu, 15 Mar 2012 07:56:39 -0400 Received: by lahe6 with SMTP id e6so2493883lah.4 for ; Thu, 15 Mar 2012 04:56:37 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <2541c4b9-fc81-4165-8793-e2bf0151ea33@me.com> References: <2541c4b9-fc81-4165-8793-e2bf0151ea33@me.com> Date: Thu, 15 Mar 2012 11:56:37 +0000 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Illumos/SmarOS support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lee Essen Cc: qemu-devel@nongnu.org On Thu, Mar 15, 2012 at 11:19 AM, Lee Essen wrote: > I've been working on getting the mainline qemu tree working on SmartOS > (illumos), the current qemu support seems to be a branch of qemu-kvm and > we've been having some problems getting spice working, so moving to the m= ain > qemu tree seemed sensible. qemu-kvm.git is a fork of qemu.git. qemu-kvm.git periodically pulls in qemu.git updates, but patches are also sent back to mainline qemu.git so the delta between the two has been decreasing. Perhaps the two can merge soon. > Anyway, couple of questions=85 > > 1. Are you happy to accept patches that enable this? > - There are a few build related things that don't work =85 assumption of= sh > being bash, missing -64 argument to dtrace etc. Sounds good, but have you checked the Joyent qemu-kvm Illumos port to see what fixes they already have? https://github.com/joyent/illumos-kvm-cmd > - There are also some dtrace language problems with tracetool (no suppor= t > for bool, and self being reserved.) If there is a reserved keyword then we need to update ./trace-events to avoid using it, and we need to add a check to scripts/tracetool so that it refuses such trace event definitions. There was discussion about reserved keywords recently here: http://patchwork.ozlabs.org/patch/146054/ > - More fundamentally some object linking issues with dtrace which I'll n= eed > some help to find the best way to resolve. I think Joyent has already done this, they said they use QEMU tracing with DTrace as the backend. > - Specific #ifdef CONFIG_SOLARIS/__sun__ stuff to support differences > - ultimately the support for vnic's =85 but I haven't even looked at tha= t > yet. > > The current state is that it's working ok for Windows guests, and non-KV= M > for Linux, but kvm & linux seems to fail, hence question number 2. > > 2. The last thing that happens when I try to boot linux with kvm enabled = is > some apic mmio accesses, then it stops at a hlt instruction and never get= s > going again. Is there something I can enable to help debug this? Or has > anyone else seen similar behaviour? I've run out of places to look. So you are using qemu.git/master with the IllumOS KVM port? I think what you are trying to do makes sense - IllumOS as a host OS and QEMU platform should be actively involved in the upstream QEMU community. But you may want to first check the Joyent port to see what can easily be upstreamed and also try talking with them if you haven't already. I'm not sure why things aren't being pushed upstream but perhaps the process can be started. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S89ic-00084d-8p for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:23:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S89iR-00046Y-9R for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:23:45 -0400 Received: from mout.web.de ([212.227.15.3]:63099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S89iR-00046K-02 for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:23:35 -0400 Message-ID: <4F61DF2F.7050302@web.de> Date: Thu, 15 Mar 2012 13:23:11 +0100 From: =?windows-1252?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <2541c4b9-fc81-4165-8793-e2bf0151ea33@me.com> In-Reply-To: <2541c4b9-fc81-4165-8793-e2bf0151ea33@me.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] Illumos/SmarOS support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lee Essen Cc: qemu-devel@nongnu.org Hi, Am 15.03.2012 12:19, schrieb Lee Essen: > I've been working on getting the mainline qemu tree working on SmartOS (illumos), the current qemu support seems to be a branch of qemu-kvm and we've been having some problems getting spice working, so moving to the main qemu tree seemed sensible. > > Anyway, couple of questions… > > 1. Are you happy to accept patches that enable this? In the past I've kept QEMU running on OpenSolaris. Avi had one outstanding patch to fix C99 compilation, and I have some to start tackling builds without --disable-guest-agent on OpenIndiana in a local queue that I need to revisit. Never tested our DTrace support so far. But sure, host support patches for qemu.git are welcome. See http://wiki.qemu.org/Contribute/StartHere for info on expected style and workflows. Please cc me on patches. Andreas From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S89xl-0005Hh-Uk for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:39:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S89xe-0007Nl-Vh for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:39:25 -0400 Received: from asmtpout021.mac.com ([17.148.16.96]:38420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S89xe-0007NY-Mk for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:39:18 -0400 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_5Kh4MWRuTXp8NNyFzJcwZA)" Received: from nk11p00mm-spool002.mac.com ([10.150.69.52]) by asmtp021.mac.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTP id <0M0X00CLBF50EE60@asmtp021.mac.com> for qemu-devel@nongnu.org; Thu, 15 Mar 2012 12:39:12 +0000 (GMT) From: lee.essen@me.com Date: Thu, 15 Mar 2012 12:39:10 +0000 (GMT) Message-id: <7ab5e7ea-4f3c-cf51-f550-d1b511424550@me.com> Subject: Re: [Qemu-devel] Illumos/SmarOS support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stefanha@gmail.com Cc: qemu-devel@nongnu.org --Boundary_(ID_5Kh4MWRuTXp8NNyFzJcwZA) Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: quoted-printable On 15/03/2012 11:56, Stefan Hajnoczi wrote: >> Anyway, couple of questions=E2=80=A6 >> >> 1. Are you happy to accept patches that enable this? >> - There are a few build related things that don't work =E2=80=A6 assum= ption of sh >> being bash, missing -64 argument to dtrace etc. > Sounds good, but have you checked the Joyent qemu-kvm Illumos port to > see what fixes they already have? > > https://github.com/joyent/illumos-kvm-cmd =20 Yes, they have solved the same problems .. however the build mechanism see= ms to be sufficiently different that things need to be done slightly diffe= rently for qemu.git. These aren't complex changes and amount to generally only a couple of line= s. The illumos-kvm-cmd tree seems to be only updated to address joyent live-i= mage build requirements, and hasn't really moved in about 7 months. I've b= een posting profusely on the smartos mailing list and they also don't seem= that concerned about this work. However, there are a few of us that would like to get spice up and running= and the illumos fork doesn't seem like a sensible place to start when the= y are so far behind. They have said that they will incorporate the spice work once it's complet= e, so I'm pretty confident that we can push them to the main qemu tree at = that point. >> - More fundamentally some object linking issues with dtrace which I'll= need >> some help to find the best way to resolve. > I think Joyent has already done this, they said they use QEMU tracing > with DTrace as the backend. =20 Yes they have, but again the build mechanism has changed quite significant= ly. The basic issue here is that dtrace on Illumos seems to need all objects t= o be provided to it when you create the dtrace provider object, I'm guessi= ng it uses the objects to work out which probes to actually include ... if= you don't provide any objects you get an output object with none of the s= ymbols you need in it. So for each binary created you need to do something like... dtrace -o -dtrace.o -G -s ... then include the specific -drace.o when linking the main binar= y. > So you are using qemu.git/master with the IllumOS KVM port? > > I think what you are trying to do makes sense - IllumOS as a host OS > and QEMU platform should be actively involved in the upstream QEMU > community. But you may want to first check the Joyent port to see > what can easily be upstreamed and also try talking with them if you > haven't already. I'm not sure why things aren't being pushed upstream > but perhaps the process can be started. =20 Yes, and (other than my Linux issue) it's working well. The changes needed to get it working are pretty minimal, most of them are = #ifdef's around KVM_CAP's that are assumed to be defined (at least in some= of the code.) The specific code changes boil down to: - a different mechanism for creating a vcpu filehandle (which is cloned fr= om /dev/kvm rather than the return code of KVM_CREATE_VCPU) - some of the kvm ioctls using different filehandles. - the requirement to lock guest memory - a KVM_EXIT_INTR case with ret=3D0 from the ioctl (exernal interrupt) ... which amounts to probably less than 50 lines of changes, and again the= code structure is pretty different to their port, so I think it's easier = to apply new rather than push upstream. I would have thought that applying this (minimal) stuff to the qemu.git tr= ee and using that for illumos would remove the need for a specific joyent = version, and hence be a good thing. The joyent guys are very focused (understandably) on their specific needs,= however if someone else is prepared to do the work they =EF=BB=BFdo seem = pretty willing to adopt it. Regards, Lee. --Boundary_(ID_5Kh4MWRuTXp8NNyFzJcwZA) Content-type: multipart/related; boundary="Boundary_(ID_E4kUKXaTTi47o6ohWyB2vw)"; type="text/html" --Boundary_(ID_E4kUKXaTTi47o6ohWyB2vw) Content-type: text/html; charset=windows-1252 Content-transfer-encoding: quoted-printable
On 15/03/2012 11:56, Stefan Hajnoczi wrote:
=0A=0A
Anywa=
y, couple of questions=85=0A=0A1. Are you happy to accept patches that ena=
ble this?=0A	- There are a few build related things that don't work =85 as=
sumption of sh=0Abeing bash, missing -64 argument to dtrace etc.=0A
<= /blockquote>=0A
Sounds good, but have you checked the Joye=
nt qemu-kvm Illumos port to=0Asee what fixes they already have?=0A=0Ahttps=
://github.com/joyent/illumos-kvm-cmd
 =
Yes, they have solved the same problems .. however the build mechanism= seems to be sufficiently different that things need to be done slightly d= ifferently for qemu.git.

These aren't complex changes and amount to= generally only a couple of lines.

The illumos-kvm-cmd tree seems t= o be only updated to address joyent live-image build requirements, and has= n't really moved in about 7 months. I've been posting profusely on the sma= rtos mailing list and they also don't seem that concerned about this work.=

However, there are a few of us that would like to get spice up and= running and the illumos fork doesn't seem like a sensible place to start = when they are so far behind.

They have said that they will incorpor= ate the spice work once it's complete, so I'm pretty confident that we can= push them to the main qemu tree at that point.

=0A
	- More fundamentally some object linking issues with dtrace which I'll=
 need=0Asome help to find the best way to resolve.=0A
I think Joyent has already done this, they said they use QEMU= tracing=0Awith DTrace as the backend.=0A
 
Yes they have, but again the build mechanism has changed quite si= gnificantly.

The basic issue here is that dtrace on Illumos seems t= o need all objects to be provided to it when you create the dtrace provide= r object, I'm guessing it uses the objects to work out which probes to act= ually include ... if you don't provide any objects you get an output objec= t with none of the symbols you need in it.

So for each binary creat= ed you need to do something like...

dtrace -o <binary>-dtrace= .o -G -s <dtrace-source> <all-the-objects-used-by-the-binary><= br>
... then include the specific <binary>-drace.o when linking t= he main binary.=0A
So yo=
u are using qemu.git/master with the IllumOS KVM port?=0A=0AI think what y=
ou are trying to do makes sense - IllumOS as a host OS=0Aand QEMU platform=
 should be actively involved in the upstream QEMU=0Acommunity.  But you ma=
y want to first check the Joyent port to see=0Awhat can easily be upstream=
ed and also try talking with them if you=0Ahaven't already.  I'm not sure =
why things aren't being pushed upstream=0Abut perhaps the process can be s=
tarted.=0A
 
Yes, and (other than m= y Linux issue) it's working well.

The changes needed to get it work= ing are pretty minimal, most of them are #ifdef's around KVM_CAP's that ar= e assumed to be defined (at least in some of the code.)

The specifi= c code changes boil down to:
- a different mechanism for creating a vcp= u filehandle (which is cloned from /dev/kvm rather than the return code of= KVM_CREATE_VCPU)
- some of the kvm ioctls using different filehandles= .
- the requirement to lock guest memory
- a KVM_EXIT_INTR case with= ret=3D0 from the ioctl (exernal interrupt)

... which amounts to pr= obably less than 50 lines of changes, and again the code structure is pret= ty different to their port, so I think it's easier to apply new rather tha= n push upstream.

I would have thought that applying this (minimal) = stuff to the qemu.git tree and using that for illumos would remove the nee= d for a specific joyent version, and hence be a good thing.

The joy= ent guys are very focused (understandably) on their specific needs, howeve= r if someone else is prepared to do the work they do seem pretty willing t= o adopt it.

Regards,

Lee.

=0A
= --Boundary_(ID_E4kUKXaTTi47o6ohWyB2vw)-- --Boundary_(ID_5Kh4MWRuTXp8NNyFzJcwZA)-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8AFS-00051P-1r for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:57:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8AFG-0002QO-VT for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:57:41 -0400 Received: from mail-lpp01m010-f45.google.com ([209.85.215.45]:53334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8AFG-0002Q1-Lx for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:57:30 -0400 Received: by lahe6 with SMTP id e6so2544291lah.4 for ; Thu, 15 Mar 2012 05:57:28 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <7ab5e7ea-4f3c-cf51-f550-d1b511424550@me.com> References: <7ab5e7ea-4f3c-cf51-f550-d1b511424550@me.com> Date: Thu, 15 Mar 2012 12:57:28 +0000 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] Illumos/SmarOS support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lee.essen@me.com Cc: qemu-devel@nongnu.org On Thu, Mar 15, 2012 at 12:39 PM, wrote: >> On 15/03/2012 11:56, Stefan Hajnoczi wrote: >> I think what you are trying to do makes sense - IllumOS as a host OS >> and QEMU platform should be actively involved in the upstream QEMU >> community. But you may want to first check the Joyent port to see >> what can easily be upstreamed and also try talking with them if you >> haven't already. I'm not sure why things aren't being pushed upstream >> but perhaps the process can be started. > > > Yes, and (other than my Linux issue) it's working well. > > The changes needed to get it working are pretty minimal, most of them are > #ifdef's around KVM_CAP's that are assumed to be defined (at least in some > of the code.) > > The specific code changes boil down to: > - a different mechanism for creating a vcpu filehandle (which is cloned from > /dev/kvm rather than the return code of KVM_CREATE_VCPU) > - some of the kvm ioctls using different filehandles. > - the requirement to lock guest memory > - a KVM_EXIT_INTR case with ret=0 from the ioctl (exernal interrupt) > > ... which amounts to probably less than 50 lines of changes, and again the > code structure is pretty different to their port, so I think it's easier to > apply new rather than push upstream. > > I would have thought that applying this (minimal) stuff to the qemu.git tree > and using that for illumos would remove the need for a specific joyent > version, and hence be a good thing. > > The joyent guys are very focused (understandably) on their specific needs, > however if someone else is prepared to do the work they do seem pretty > willing to adopt it. Okay, that's important because doing a porting/upstreaming effort like this also has a big human or political element. If they are supportive then it's more likely everyone involved will end up with a qemu.git tree they like and can use. My main concern with the KVM functionality is that Joyent is leading the kernel side and you are leading the upstream qemu.git side - this means there needs to be collaboration. Perhaps you can CC your qemu-devel patches to an illumos/joyent mailing list so that it's always clear where you're headed. That way, folks experienced with the IllumOS KVM kernel interface can review and give advice. The scenario to avoid would be for upstream qemu.git to have IllumOS support merged but it breaks because the KVM kernel side goes in a different direction. Anway, your plan to get patches upstream sounds good to me. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8AUK-0000by-NK for qemu-devel@nongnu.org; Thu, 15 Mar 2012 09:13:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8ATt-0005n9-Aq for qemu-devel@nongnu.org; Thu, 15 Mar 2012 09:13:04 -0400 Received: from mout.web.de ([212.227.15.4]:49305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8ATt-0005mq-1Z for qemu-devel@nongnu.org; Thu, 15 Mar 2012 09:12:37 -0400 Message-ID: <4F61EAC2.3030004@web.de> Date: Thu, 15 Mar 2012 14:12:34 +0100 From: =?windows-1252?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <7ab5e7ea-4f3c-cf51-f550-d1b511424550@me.com> In-Reply-To: <7ab5e7ea-4f3c-cf51-f550-d1b511424550@me.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] Illumos/SmarOS support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lee.essen@me.com Cc: stefanha@gmail.com, qemu-devel@nongnu.org Something went wrong with your reply... While it contains a quote it does not reference the mail you replied to, that way messages get lost among the constant chatter on qemu-devel. Am 15.03.2012 13:39, schrieb lee.essen@me.com: > On 15/03/2012 11:56, Stefan Hajnoczi wrote: >>> Anyway, couple of questions… >>> >>> 1. Are you happy to accept patches that enable this? >>> - There are a few build related things that don't work … assumption of sh >>> being bash, missing -64 argument to dtrace etc. >> Sounds good, but have you checked the Joyent qemu-kvm Illumos port to >> see what fixes they already have? >> >> https://github.com/joyent/illumos-kvm-cmd > > Yes, they have solved the same problems .. however the build mechanism > seems to be sufficiently different that things need to be done slightly > differently for qemu.git. > > These aren't complex changes and amount to generally only a couple of lines. > > The illumos-kvm-cmd tree seems to be only updated to address joyent > live-image build requirements, and hasn't really moved in about 7 > months. I've been posting profusely on the smartos mailing list and they > also don't seem that concerned about this work. At FOSDEM, I talked to a Bryant from illumos who wanted to forward my business card to their KVM/QEMU guys re upstreaming, but I haven't heard back from anyone so far. > So for each binary created you need to do something like... > > dtrace -o -dtrace.o -G -s > > > ... then include the specific -drace.o when linking the main > binary. Same as on Solaris 10. There was some alternative trick to "glom" objects together to avoid linking in that extra object, don't remember exactly. Hopefully there's an archive of the old Sun blogs somewhere. Concerning KVM, there was some resentment on the Red Hat side againt the SmartOS KVM port due to the legal issue of whether GPL'ed KVM may be combined with CDDL. But that is independent of currently broken QEMU host support in userland. Andreas From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8CvD-0000Pi-8P for qemu-devel@nongnu.org; Thu, 15 Mar 2012 11:49:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8Cv7-00049I-5q for qemu-devel@nongnu.org; Thu, 15 Mar 2012 11:48:58 -0400 Received: from 204.146.238.178.in-addr.arpa ([178.238.146.204]:64409 helo=mail.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8Cv6-00048Y-Up for qemu-devel@nongnu.org; Thu, 15 Mar 2012 11:48:53 -0400 Message-ID: <4F620F58.7020002@nowonline.co.uk> Date: Thu, 15 Mar 2012 15:48:40 +0000 From: Lee Essen MIME-Version: 1.0 References: <7ab5e7ea-4f3c-cf51-f550-d1b511424550@me.com> <4F61EAC2.3030004@web.de> In-Reply-To: <4F61EAC2.3030004@web.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Illumos/SmarOS support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?windows-1252?Q?Andreas_F=E4rber?= Cc: stefanha@gmail.com, qemu-devel@nongnu.org On 15/03/2012 13:12, Andreas F=E4rber wrote: > Something went wrong with your reply... While it contains a quote it > does not reference the mail you replied to, that way messages get lost > among the constant chatter on qemu-devel. > Hmmm ... sorry -- I'm having to cut and paste emails between mail client=20 and web browser because I can't get my normal email (this one) to=20 deliver to the list. Any ideas who I talk to to resolve it? I've tried=20 qemu-devel-owner but has no response. Regards, Lee. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8D5p-0005T7-OH for qemu-devel@nongnu.org; Thu, 15 Mar 2012 12:00:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8D5j-0006gp-Iq for qemu-devel@nongnu.org; Thu, 15 Mar 2012 11:59:57 -0400 Received: from mout.web.de ([212.227.15.4]:52129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8D5j-0006gO-A6 for qemu-devel@nongnu.org; Thu, 15 Mar 2012 11:59:51 -0400 Message-ID: <4F6211F2.7070000@web.de> Date: Thu, 15 Mar 2012 16:59:46 +0100 From: =?windows-1252?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <7ab5e7ea-4f3c-cf51-f550-d1b511424550@me.com> <4F61EAC2.3030004@web.de> <4F620F58.7020002@nowonline.co.uk> In-Reply-To: <4F620F58.7020002@nowonline.co.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] Illumos/SmarOS support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lee Essen Cc: stefanha@gmail.com, qemu-devel@nongnu.org Am 15.03.2012 16:48, schrieb Lee Essen: > On 15/03/2012 13:12, Andreas Färber wrote: >> Something went wrong with your reply... While it contains a quote it >> does not reference the mail you replied to, that way messages get lost >> among the constant chatter on qemu-devel. >> > Hmmm ... sorry -- I'm having to cut and paste emails between mail client > and web browser because I can't get my normal email (this one) to > deliver to the list. [...] This mail arrived fine! The Savannah server is sometimes lagging lately. Andreas