From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <13426df10909231212l43466919j5ec974765ce43e27@mail.gmail.com> References: <13426df10909231212l43466919j5ec974765ce43e27@mail.gmail.com> Date: Wed, 23 Sep 2009 12:26:02 -0700 Message-ID: Subject: Re: [9fans] 9vx (is this the right list)? import issue From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 76ae2f14-ead5-11e9-9d60-3106f5b1d025 I think that oserrstr should be fixed. You want "interrupted" to be the error string for many places not just right here. Other programs look for strstr(error, "interrupt") for example Russ On Wednesday, September 23, 2009, ron minnich wrote: > OK, so what happens in 9vx. > > mount sources > cd /n/blah/blah > grep full *.c > hit DEL > devip.c read on Qdata fails, and we do this: > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if(r < 0){ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0oserrstr(); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0nexterror(); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > > So just need to fix oserrstr() or fix this in devip itself? I vote > oserrstr, lucho votes fix this little bit of > code. > > Anyway, there it is. > > We're watching this talk on nested VMs on the x86 machines. Oops. > hardware botch. You have to do strange things to make it all work. I > can't believe nobody read the IBM papers before they designed this > stuff in. > > ron > >