|
List Info
Thread: Re: Passing flags to qemu
|
|
| Re: Passing flags to qemu |

|
2007-10-23 05:49:26 |
On Mon, 2007-10-22 at 20:25 -0700, Diane Holt wrote:
> Actually, can you just tell me what --sbox-call is for?
Looking at the
> patch for it, it seems to just be skipping it anyway
(unless I'm
> missing something). The comment for the commit that
added it said
> something about a "calling convention", but
I'm not sure what that
> really means.
sbrsh seems to skip the next non-option argument (= target
program
name?) when --sbox-call is specified. I don't know why.
timo
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
|
|
| Passing flags to qemu |

|
2007-10-17 21:47:26 |
|
Hi,
Is there any way to pass flags to qemu (when it's run automatically by way of executing an arm executable)? I didn't see anything in the variables.txt file (like the *EXTRA_ARGS* type vars for the compiler, etc.).
Thanks, Diane
|
| Re: Passing flags to qemu |
  Finland |
2007-10-18 07:10:36 |
On Wed, Oct 17, 2007 at 07:47:26PM -0700, Diane Holt wrote:
> Is there any way to pass flags to qemu (when it's run
automatically by way
> of executing an arm executable)? I didn't see anything
in the
> variables.txtfile (like the *EXTRA_ARGS* type vars for
the compiler,
> etc.).
http://bugzilla.scratchbox.org/bugzilla/show_bug.cgi?
id=313
I'll implement it when I get the chance.
timo
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
|
|
| Re: Passing flags to qemu |

|
2007-10-18 10:50:32 |
|
Actually, it's something I need right away. I'd be fine with trying to implement it myself, but I don't really know what would need changing. If you could point me in the right direction, that'd be fine. Or, could you tell me how to (from your bug report) "pass in one extra argument by abusing the SBOX_CPUTRANSPARENCY_FILTER"?
Thanks, Diane
On 10/18/07, Timo Savola < tsavola movial.fi">tsavola movial.fi> wrote:
On Wed, Oct 17, 2007 at 07:47:26PM -0700, Diane Holt wrote:
> Is there any way to pass flags to qemu (when it's run automatically by way > of executing an arm executable)? I didn't see anything in the
> variables.txtfile (like the *EXTRA_ARGS* type vars for the compiler, > etc.).
http://bugzilla.scratchbox.org/bugzilla/show_bug.cgi?id=313
I'll implement it when I get the chance.
timo
|
| Re: Passing flags to qemu |
  Finland |
2007-10-18 13:13:15 |
On Thu, Oct 18, 2007 at 08:50:32AM -0700, Diane Holt wrote:
> Actually, it's something I need right away. I'd be fine
with trying to
> implement it myself, but I don't really know what would
need changing. If
> you could point me in the right direction, that'd be
fine.
I'm acutally working on it right now.
> Or, could you
> tell me how to (from your bug report) "pass in one
extra argument by abusing
> the SBOX_CPUTRANSPARENCY_FILTER"?
export
SBOX_CPUTRANSPARENCY_FILTER="--the-parameter"
timo
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
|
|
| Re: Passing flags to qemu |

|
2007-10-18 14:04:18 |
|
Thanks! I had actually just tracked down misc_runner, so I was starting to look at misc_runner.c myself, but if the fix will be available soon, I guess I can stop doing that 
BTW, I tried passing the flag in using the var, but it didn't work.
Diane
On 10/18/07, Timo Savola < tsavola movial.fi">tsavola movial.fi> wrote:
On Thu, Oct 18, 2007 at 08:50:32AM -0700, Diane Holt wrote:
> Actually, it's something I need right away. I'd be fine with trying to > implement it myself, but I don't really know what would need changing. If
> you could point me in the right direction, that'd be fine.
I39;m acutally working on it right now.
> Or, could you > tell me how to (from your bug report) "pass in one extra argument by abusing
> the SBOX_CPUTRANSPARENCY_FILTER"?
export SBOX_CPUTRANSPARENCY_FILTER="--the-parameter"
timo
|
| Re: Passing flags to qemu |
  Finland |
2007-10-18 14:45:25 |
On Thu, Oct 18, 2007 at 12:04:18PM -0700, Diane Holt wrote:
> Thanks! I had actually just tracked down misc_runner,
so I was starting to
> look at misc_runner.c myself, but if the fix will be
available soon, I guess
> I can stop doing that
>
> BTW, I tried passing the flag in using the var, but it
didn't work.
It should.. Anyway, my change is now in darcs and should be
auto-building.
timo
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
|
|
| Re: Passing flags to qemu |

|
2007-10-19 08:51:22 |
|
Hi Timo & Jussi,
Thanks very much for turning that around so quickly. Unfortunately, my qemu still isn't working for me -- but I think I may know why now. In looking through your repository, I found a number of patch files for the qemu sources. Are the qemu's that are used in scratchbox all built specifically for it, with these patches applied? I have a
0.9.0 qemu that I doubt was built that way. I only have the binary, not the source that was used to build it -- but a 'strings' on it doesn't turn up -sbox-call, like it does for the qemu's that came with scratchbox (which I was looking for because of this line in misc_runner.c: vec[i++] = "--sbox-call";).
I noticed that for 0.9.0 in your repository, there's only one patch file (to the Makefile, to build static), so do you apply all the patches for the previous versions as well?
Sorry to be a bother, but I really need to get this working (this qemu supports additional features I need that aren't available in the qemu I'm currently using). I can ask for the one I have to get rebuilt, with the scratchbox patches applied, if that's what needs to be done.
Thanks again, Diane
On 10/19/07, Jussi Hakala < jussi.hakala movial.fi">jussi.hakala movial.fi> wrote:
Timo Savola wrote: >> Thanks! I had actually just tracked down misc_runner, so I was starting to >> look at misc_runner.c myself, but if the fix will be available soon, I guess >> I can stop doing that
>> >> BTW, I tried passing the flag in using the var, but it didn't work. > > It should.. Anyway, my change is now in darcs and should be auto-building.
Snapshot from darcs with Timo's patch is avaiable from [1].
[1] http://scratchbox.org/~jhakala/unofficial
Regards,
Jussi
|
| Re: Passing flags to qemu |
  Finland |
2007-10-19 10:26:11 |
Diane Holt wrote:
> I noticed that for 0.9.0 in your repository, there's
only one patch file
> (to the Makefile, to build static), so do you apply all
the patches for
> the previous versions as well?
>
> Sorry to be a bother, but I really need to get this
working (this qemu
> supports additional features I need that aren't
available in the qemu
> I'm currently using). I can ask for the one I have to
get rebuilt, with
> the scratchbox patches applied, if that's what needs to
be done.
Have you tried the cputransp devkit present in the same
location [1]?
That snapshot contains qemu-0.8.2 with additional patches
and since
cputransp version 1.0.3 and onward, there's a cvs snapshot
of qemu
available. Perhaps the patched version of 0.8.2 or the cvs
snapshot
could be of use?
[1] http://scra
tchbox.org/~jhakala/unofficial
Regards,
Jussi
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
|
|
| Re: Passing flags to qemu |

|
2007-10-19 10:38:33 |
|
No, the modifications to the qemu I have are not available anywhere else. If it needs to get built with the scratchbox patches applied to it, I can probably get that done, but I need to know if that's the case, and if so, whether all the scratchbox patches get applied, up to and including the one for
0.9.0.
Thanks, Diane
On 10/19/07, Jussi Hakala < jussi.hakala movial.fi">jussi.hakala movial.fi> wrote:
Diane Holt wrote: > I noticed that for 0.9.0 in your repository, there's only one patch file > (to the Makefile, to build static), so do you apply all the patches for > the previous versions as well?
> > Sorry to be a bother, but I really need to get this working (this qemu > supports additional features I need that aren't available in the qemu > I'm currently using). I can ask for the one I have to get rebuilt, with
> the scratchbox patches applied, if that's what needs to be done.
Have you tried the cputransp devkit present in the same location [1]?
That snapshot contains qemu-0.8.2 with additional patches and since
cputransp version 1.0.3 and onward, there's a cvs snapshot of qemu available. Perhaps the patched version of 0.8.2 or the cvs snapshot could be of use?
[1]
http://scratchbox.org/~jhakala/unofficial
Regards,
Jussi
|
|
|