Re: [Xen-devel] [BUG] gdbsx crashes Xen

2016-02-26 Thread Carl Patenaude Poulin
oop...@citrix.com> wrote: > On 11/02/16 16:25, Carl Patenaude Poulin wrote: > > Hey folks, > > With gdbsx running, Running `gdb -ex "target remote localhost:" > crashes Xen and reboots the server. > > Example session: http://i.imgur.com/UXh3RCy.png > > Minim

[Xen-devel] [BUG] gdbsx crashes Xen

2016-02-11 Thread Carl Patenaude Poulin
ion if you tell me what to look for. Also, I would LOVE a work-around. Best Carl Patenaude Poulin B. Eng. Software Engineering student McGill University ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] Debugging console

2015-12-28 Thread Carl Patenaude Poulin
Hi all, We've got __HYPERVISOR_console_io working on our unikernel! The only issue is that it prints to `xl dmesg`. Is there a way to get it to print to `xl console`? Best Carl Patenaude Poulin McGill University ___ Xen-devel mailing list Xen-devel

[Xen-devel] Check if gdbsx is running

2015-12-26 Thread Carl Patenaude Poulin
Hi all, I'm writing some development tools for my team. Given a domain ID, is there a way to programmatically check whether gdbsx is running on that domain and what port it's running on? I could use something like `top -b -n 1 | grep gdbsx` but that seems very brittle. Best Carl Patenaude

[Xen-devel] Hypercalls: ignored output registers?

2015-12-26 Thread Carl Patenaude Poulin
the input registers? Is it because the registers are callee-saved? If that's the case, why not just put them in the clobber list? Best Carl Patenaude Poulin McGill University ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen

[Xen-devel] Xen hypercall calling convention

2015-12-03 Thread Carl Patenaude Poulin
Hi folks, On page 12 of "The Definitive Guide to the Xen Hypervisor", it is mentioned that "Xen, like Linux, uses the MS-DOS calling convention, rather than the UNIX convention used by FreeBSD." I keep digging online and I can't find any information about an "MS-DOS calling convention". We've

Re: [Xen-devel] ELF Notes for kernel image

2015-10-27 Thread Carl Patenaude Poulin
? Or is it done implicitly somehow? On Sun, Oct 25, 2015 at 2:45 PM, Andrew Cooper <andrew.coop...@citrix.com> wrote: > On 25/10/2015 00:07, Carl Patenaude Poulin wrote: >> Hi all, >> >> For my undergraduate project, I am developing a simple >> paravirtualized x64 Xen unikern

[Xen-devel] Xen Unikernel: from zero to Hello World!

2015-10-27 Thread Carl Patenaude Poulin
an just do HYPERVISOR_console_io hypercalls. What strategy would you use to debug this early in the development process? Is there a debugger I should be using? I'd appreciate any information and any links to information, even when it's only tangentially relevant. Thanks in advance, Carl Patenaude Poulin B En

[Xen-devel] ELF Notes for kernel image

2015-10-24 Thread Carl Patenaude Poulin
? * After all of this is done, how can I verify that my compiled binary indeed has a valid PT_NOTE entry for Xen? Does `readelf` have a switch that's particularly appropriate for this? Thanks in advance, Carl Patenaude Poulin B Eng Software Engineering undergrad McGill University _