logo       

RE: [uml-user] A use for User Mode Linux?: msg#00305

Subject: RE: [uml-user] A use for User Mode Linux?
        I was looking more for a way of doing it from the host system by
intercepting the "int 3" being passed to the host kernel through the
tracing thread (is the interrupt passed down to the host system?). I'd
like to keep the virtual environment as "pristine" as possible and only
poke at it from the outside.
        I was thinking of writing a kernel module that would load on the
host system and intercept the "int 3" when it got passed down from the
user-mode processes into the host kernel and then extract the user-mode
memory and processor state from this module. Does anyone think this
approach is feasibile?
        Thanks for the suggestion though. I have looked at Software
Suspend.

Jon M. Hanson
Senior Software Engineer
Office: +1-480-552-0519
Mobile: +1-602-330-4768 / jon_hanson@xxxxxxxxxxx
My current location:
http://www.findu.com/cgi-bin/find-us.cgi?call=N7ZVJ-1
Work weblog: http://jmhanson-linux.ch.intel.com:8668
Public key: http://jmhanson-linux.ch.intel.com/jon_hanson_public_key.asc
Public key fingerprint: 3049 D9DF 35A5 5AF3 3883 077A 19F6 5784 5B01
B65E
 
/* The green code always compiles. */
-----Original Message-----
From: Jeff Dike [mailto:jdike@xxxxxxxxxxx] 
Sent: Wednesday, February 25, 2004 4:24 PM
To: Hanson, Jonathan M
Cc: User UML
Subject: Re: [uml-user] A use for User Mode Linux? 

jonathan.m.hanson@xxxxxxxxx said:
> I would like to have an application running under User Mode Linux that
> gets to a certain point and issues an "int 3." At that point I would
> like to collect (from the host) the current memory that the virtual
> machine sees into a file on the host along with the virtual system's
> architecture state (registers, etc.) into another file on the host.
>
>             Does this sound feasible?

Sure, this is just swsusp for UML with a strange trigger, and the state
split
between two files for some reason.

There is a swsusp for (an old version of) UML.  Check the archives for
the
announcement from Richard Potter.

                                Jeff



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click


<Prev in Thread] Current Thread [Next in Thread>