[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Re: mini-os for Xen2
> > You need to be using a debug=y build of Xen to use console_io from an > > unprivileged domain. > > > > Ian Hello, I was having some problems to boot XEN when it was compiled with 'debug=y'. But I was able to slove that. I just had to remove some of the extra messages that get printed during the boot process when 'debug=y' is turned on and that seemed to solve the problem. However, I still cannot get my mini-os to print something to the console. I modified the function "do_console_io()" in the file xen/drivers/char/console.c to catch whenever the mini-os tries to write to the console. "do_console_io()" is being invoked correctly and the check that (current->id == 0 ) is NOT being performed since I compiled with "debug=y". So everything should be fine and the unprivileged mini-os should be able to write to the console. But in the function call "serial_puts(sercon_handle, kbuf)", sercon_handle is -1. So the serial_puts() function is not being executed correctly. Are there some initial setup I need to do in my mini-os in order to use the console_io hypercalls. Thanks Rick ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |