Skip to contentSkip to conversation

Make demu.git compiler under Xen 4.7 (and later)

PATCH In review Konrad Rzeszutek Wilk 2 participants 12 messages Feb 10, 2017 – Feb 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make demu.git compiler under Xen 4.7 (and later)

Hey!

This patch lets me compile this emulator under Xen 4.7.

It probably can be done better (#ifdef magic?) but for right now this gets me past the compile errors.

BTW, are there any other outstanding patches against this tree?

 demu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Konrad Rzeszutek Wilk (1):
Make it compiler under Xen 4.7.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#1 lore raw

PATCH 1/1 Make it compiler under Xen 4.7.

With b7f76a699dcfadc0a52ab45b33cc72dbf3a69e7b

Author: Ian Campbell <[email protected]>
Date:   Mon Jun 1 16:20:09 2015 +0100

tools: Refactor /dev/xen/evtchn wrappers into libxenevtchn.

commit 32486916793fd78a41fc25e53d2b53a5aa0b1bd5

Author: Ian Campbell <[email protected]>
Date:   Thu Jun 18 16:30:19 2015 +0100

tools: Refactor foreign memory mapping into libxenforeignmemory

We need to use the compat layer.

---
CC: [email protected]

v1: First version

---
 demu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
demu.c +6 -1
index 2933efb..7d73a69 100644
@@ -56,7 +56,12 @@
 
 #include <locale.h>
 
+#define XC_WANT_COMPAT_MAP_FOREIGN_API 1
+#define XC_WANT_COMPAT_EVTCHN_API 1
+
 #include <xenctrl.h>
+#include <xenctrl_compat.h>
+
 #include <xen/hvm/ioreq.h>
 
 #include "debug.h"
@@ -126,7 +131,7 @@ typedef enum {
 typedef struct demu_state {
     demu_seq_t          seq;
     xc_interface        *xch;
-    xc_interface        *xceh;
+    xc_evtchn          *xceh;
     domid_t             domid;
     unsigned int        vcpus;
     ioservid_t          ioservid;
Signature · 7 lines
2.9.3


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#2 lore raw

Re: [PATCH] Make it compiler under Xen 4.7.

Quoted 14 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 10 February 2017 21:52
To: Paul Durrant <[email protected]>; [email protected]
Cc: Konrad Rzeszutek Wilk <[email protected]>
Subject: [PATCH] Make it compiler under Xen 4.7.

With b7f76a699dcfadc0a52ab45b33cc72dbf3a69e7b

Author: Ian Campbell <[email protected]>
Date:   Mon Jun 1 16:20:09 2015 +0100

tools: Refactor /dev/xen/evtchn wrappers into libxenevtchn.

commit 32486916793fd78a41fc25e53d2b53a5aa0b1bd5

Quoted 8 lines
Author: Ian Campbell <[email protected]>
Date:   Thu Jun 18 16:30:19 2015 +0100

tools: Refactor foreign memory mapping into libxenforeignmemory

We need to use the compat layer.

Thanks for taking the time to send this. I'll incorporate this a.s.a.p.

Quoted 36 lines

---
CC: [email protected]

v1: First version

---
 demu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
demu.c +6 -2
index 2933efb..7d73a69 100644
@@ -56,7 +56,12 @@
 
 #include <locale.h>
 
+#define XC_WANT_COMPAT_MAP_FOREIGN_API 1
+#define XC_WANT_COMPAT_EVTCHN_API 1
+
 #include <xenctrl.h>
+#include <xenctrl_compat.h>
+
 #include <xen/hvm/ioreq.h>
 
 #include "debug.h"
@@ -126,7 +131,7 @@ typedef enum {
 typedef struct demu_state {
     demu_seq_t          seq;
     xc_interface        *xch;
-    xc_interface        *xceh;
+    xc_evtchn          *xceh;
     domid_t             domid;
     unsigned int        vcpus;
     ioservid_t          ioservid;
--
Quoted 1 line

2.9.3

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw

Re: [PATCH] Make it compiler under Xen 4.7.

Quoted 17 lines · Paul Durrant
Quoted 17 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 10 February 2017 21:52
To: Paul Durrant <[email protected]>; [email protected]
Cc: Konrad Rzeszutek Wilk <[email protected]>
Subject: [PATCH] Make it compiler under Xen 4.7.

With b7f76a699dcfadc0a52ab45b33cc72dbf3a69e7b

Author: Ian Campbell <[email protected]>
Date:   Mon Jun 1 16:20:09 2015 +0100

tools: Refactor /dev/xen/evtchn wrappers into libxenevtchn.

commit 32486916793fd78a41fc25e53d2b53a5aa0b1bd5

Author: Ian Campbell <[email protected]>
Date:   Thu Jun 18 16:30:19 2015 +0100
Quoted 7 lines
Quoted 5 lines

tools: Refactor foreign memory mapping into libxenforeignmemory

We need to use the compat layer.

Thanks for taking the time to send this. I'll incorporate this a.s.a.p.

Thank you. Keep in mind that it will likely break against older Xen versions (Xen 4.4?) as there is no xenctrl_compat.h

[Oh wait, Xen 4.4 didn't have ioreq either, so perhaps Xen 4.5?]

But I wasn't sure how you wanted to deal with this being compiled against say Xen 4.6?

Or maybe the README file should just say what version of Xen is required? (I can send an patch for that too if you would like).

Quoted 28 lines
Quoted 25 lines

---
CC: [email protected]

v1: First version

---
 demu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
demu.c +5 -0
index 2933efb..7d73a69 100644
@@ -56,7 +56,12 @@
 
 #include <locale.h>
 
+#define XC_WANT_COMPAT_MAP_FOREIGN_API 1
+#define XC_WANT_COMPAT_EVTCHN_API 1
+
 #include <xenctrl.h>
+#include <xenctrl_compat.h>
+
 #include <xen/hvm/ioreq.h>
 
Quoted 13 lines
Quoted 11 lines
demu.c +1 -2
 #include "debug.h"
@@ -126,7 +131,7 @@ typedef enum {
 typedef struct demu_state {
     demu_seq_t          seq;
     xc_interface        *xch;
-    xc_interface        *xceh;
+    xc_evtchn          *xceh;
     domid_t             domid;
     unsigned int        vcpus;
     ioservid_t          ioservid;
--
Quoted 1 line

2.9.3

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#4 lore raw

Re: [PATCH] Make it compiler under Xen 4.7.

Quoted 29 lines

-----Original Message-----
From: Xen-devel [mailto:[email protected]] On Behalf Of Konrad Rzeszutek Wilk
Sent: 14 February 2017 15:15
To: Paul Durrant <[email protected]>
Cc: [email protected]
Subject: Re: [Xen-devel] [PATCH] Make it compiler under Xen 4.7.

Quoted 4 lines · Paul Durrant
Quoted 4 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 10 February 2017 21:52
To: Paul Durrant <[email protected]>; xen-

[email protected]

Quoted 15 lines
Quoted 15 lines

Cc: Konrad Rzeszutek Wilk <[email protected]>
Subject: [PATCH] Make it compiler under Xen 4.7.

With b7f76a699dcfadc0a52ab45b33cc72dbf3a69e7b

Author: Ian Campbell <[email protected]>
Date:   Mon Jun 1 16:20:09 2015 +0100

tools: Refactor /dev/xen/evtchn wrappers into libxenevtchn.

commit 32486916793fd78a41fc25e53d2b53a5aa0b1bd5

Author: Ian Campbell <[email protected]>
Date:   Thu Jun 18 16:30:19 2015 +0100

tools: Refactor foreign memory mapping into libxenforeignmemory

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

We need to use the compat layer.

Thanks for taking the time to send this. I'll incorporate this a.s.a.p.

Thank you. Keep in mind that it will likely break against older Xen versions (Xen 4.4?) as there is no xenctrl_compat.h

I'm not sure you actually need to include that directly. I was going to try just adding the 'want compat' defines and seeing if I could make it work. I think it *should* work since all we do for upstream QEMU is add those defines into the configure cmd line IIRC.

Quoted 9 lines

[Oh wait, Xen 4.4 didn't have ioreq either, so perhaps Xen 4.5?]

But I wasn't sure how you wanted to deal with this being compiled against say Xen 4.6?

Or maybe the README file should just say what version of Xen is required? (I can send an patch for that too if you would like).

That's ok. I can do a little experimentation and add a README.

Paul

Quoted 42 lines
Quoted 28 lines
Quoted 25 lines

---
CC: [email protected]

v1: First version

---
 demu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
demu.c +5 -0
index 2933efb..7d73a69 100644
@@ -56,7 +56,12 @@
 
 #include <locale.h>
 
+#define XC_WANT_COMPAT_MAP_FOREIGN_API 1
+#define XC_WANT_COMPAT_EVTCHN_API 1
+
 #include <xenctrl.h>
+#include <xenctrl_compat.h>
+
 #include <xen/hvm/ioreq.h>
 
Quoted 13 lines
Quoted 11 lines
demu.c +1 -2
 #include "debug.h"
@@ -126,7 +131,7 @@ typedef enum {
 typedef struct demu_state {
     demu_seq_t          seq;
     xc_interface        *xch;
-    xc_interface        *xceh;
+    xc_evtchn          *xceh;
     domid_t             domid;
     unsigned int        vcpus;
     ioservid_t          ioservid;
--
Quoted 1 line

2.9.3

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#5 lore raw

Re: [PATCH] Make it compiler under Xen 4.7.

Quoted 1 line

-----Original Message-----

[snip]

Quoted 7 lines
Quoted 2 lines

Thank you. Keep in mind that it will likely break against older Xen versions (Xen 4.4?) as there is no xenctrl_compat.h

I'm not sure you actually need to include that directly. I was going to try just adding the 'want compat' defines and seeing if I could make it work. I think it *should* work since all we do for upstream QEMU is add those defines into the configure cmd line IIRC.

I pushed modified patches into the master and console branches. Hopefully it should now build ok for you.

Paul
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#6 lore raw
In reply to Konrad Rzeszutek Wilk
Quoted 6 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 10 February 2017 21:52
To: Paul Durrant <[email protected]>; [email protected]
Subject: [PATCH v1] Make demu.git compiler under Xen 4.7 (and later)

Quoted 9 lines

Hey!

This patch lets me compile this emulator under Xen 4.7.

It probably can be done better (#ifdef magic?) but for right now this gets me past the compile errors.

BTW, are there any other outstanding patches against this tree?

This is still my private project, although if it's generally useful then maybe it can be adopted as part of the Xen project?

For the benefit of the list, there are two branches in http://xenbits.xen.org/gitweb/?p=people/pauldu/demu.git

- The 'master' branch is a very basic standalone device emulator. It serves as boilerplate for emulation of a single PCI device.

- The 'console' branch is a (PS/2) Keyboard-VGA-Mouse emulator using libVNCServer which can potentially be used with an HVM guest with PV network and storage drivers, thus removing the need to use QEMU. demu is a small and constrained piece of code and thus presents a much smaller attack surface. The original intention was also to run it in a 'console service domain' to further contain damage it was successfully attacked.

It's likely that I will patch the code further once my current work on libxendevicemodel is done (following acceptance of my recent privcmd patches).

Cheers,

Paul

Quoted 6 lines
 demu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Konrad Rzeszutek Wilk (1):
Make it compiler under Xen 4.7.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#7 lore raw
Quoted 10 lines · Paul Durrant
Quoted 10 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 10 February 2017 21:52
To: Paul Durrant <[email protected]>; [email protected]
Subject: [PATCH v1] Make demu.git compiler under Xen 4.7 (and later)

Hey!

This patch lets me compile this emulator under Xen 4.7.

Quoted 7 lines
Quoted 5 lines

It probably can be done better (#ifdef magic?) but for right now this gets me past the compile errors.

BTW, are there any other outstanding patches against this tree?

This is still my private project, although if it's generally useful then maybe it can be adopted as part of the Xen project?

It is a nice project!

By 'adopted' you mean being built as part of xen.git (like minios.git?) - and all of those requirements?

Quoted 8 lines

For the benefit of the list, there are two branches in http://xenbits.xen.org/gitweb/?p=people/pauldu/demu.git

- The 'master' branch is a very basic standalone device emulator. It serves as boilerplate for emulation of a single PCI device.

- The 'console' branch is a (PS/2) Keyboard-VGA-Mouse emulator using libVNCServer which can potentially be used with an HVM guest with PV network and storage drivers, thus removing the need to use QEMU. demu is a small and constrained piece of code and thus presents a much smaller attack surface. The original intention was also to run it in a 'console service domain' to further contain damage it was successfully attacked.

It's likely that I will patch the code further once my current work on libxendevicemodel is done (following acceptance of my recent privcmd patches).

<nods>

Quoted 12 lines

Cheers,

Paul

Quoted 6 lines
 demu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Konrad Rzeszutek Wilk (1):
Make it compiler under Xen 4.7.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#8 lore raw
Quoted 22 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 14 February 2017 15:16
To: Paul Durrant <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v1] Make demu.git compiler under Xen 4.7 (and later)

Quoted 4 lines · Paul Durrant
Quoted 4 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 10 February 2017 21:52
To: Paul Durrant <[email protected]>; xen-

[email protected]

Quoted 9 lines
Quoted 9 lines

Subject: [PATCH v1] Make demu.git compiler under Xen 4.7 (and later)

Hey!

This patch lets me compile this emulator under Xen 4.7.

It probably can be done better (#ifdef magic?) but for right now this gets me past the compile errors.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

BTW, are there any other outstanding patches against this tree?

This is still my private project, although if it's generally useful then maybe it

can be adopted as part of the Xen project?

It is a nice project!

Glad you find it useful :-)

Quoted 3 lines

By 'adopted' you mean being built as part of xen.git (like minios.git?) - and all of those requirements?

Something like that, then it can be incorporated as an option into the xen build and we can make sure any dependency issues like this are caught in future.

I guess I'd probably make the 'console' branch master in a more official repo... I could even look at adding the necessary tooling into libxl to kick it off too :-)

Paul

Quoted 14 lines
Quoted 2 lines

For the benefit of the list, there are two branches in

http://xenbits.xen.org/gitweb/?p=people/pauldu/demu.git

Quoted 2 lines

- The 'master' branch is a very basic standalone device emulator. It serves

as boilerplate for emulation of a single PCI device.

Quoted 2 lines

- The 'console' branch is a (PS/2) Keyboard-VGA-Mouse emulator using

libVNCServer which can potentially be used with an HVM guest with PV network and storage drivers, thus removing the need to use QEMU. demu is a small and constrained piece of code and thus presents a much smaller attack surface. The original intention was also to run it in a 'console service domain' to further contain damage it was successfully attacked.

Quoted 1 line
Quoted 17 lines
Quoted 1 line

It's likely that I will patch the code further once my current work on

libxendevicemodel is done (following acceptance of my recent privcmd patches).

<nods>

Quoted 12 lines

Cheers,

Paul

Quoted 6 lines
 demu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Konrad Rzeszutek Wilk (1):
Make it compiler under Xen 4.7.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#9 lore raw
Quoted 33 lines · Paul Durrant
Quoted 22 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 14 February 2017 15:16
To: Paul Durrant <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v1] Make demu.git compiler under Xen 4.7 (and later)

Quoted 4 lines · Paul Durrant
Quoted 4 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 10 February 2017 21:52
To: Paul Durrant <[email protected]>; xen-

[email protected]

Quoted 9 lines
Quoted 9 lines

Subject: [PATCH v1] Make demu.git compiler under Xen 4.7 (and later)

Hey!

This patch lets me compile this emulator under Xen 4.7.

It probably can be done better (#ifdef magic?) but for right now this gets me past the compile errors.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

BTW, are there any other outstanding patches against this tree?

This is still my private project, although if it's generally useful then maybe it

can be adopted as part of the Xen project?

It is a nice project!

Glad you find it useful :-)

Quoted 7 lines
Quoted 3 lines

By 'adopted' you mean being built as part of xen.git (like minios.git?) - and all of those requirements?

Something like that, then it can be incorporated as an option into the xen build and we can make sure any dependency issues like this are caught in future.

I guess I'd probably make the 'console' branch master in a more official repo... I could even look at adding the necessary tooling into libxl to kick it off too :-)

Oooh, and what kind of bribe^H^H^H^H incentive should I send your way?

Quoted 34 lines

Paul

Quoted 31 lines
Quoted 2 lines

For the benefit of the list, there are two branches in

http://xenbits.xen.org/gitweb/?p=people/pauldu/demu.git

Quoted 2 lines

- The 'master' branch is a very basic standalone device emulator. It serves

as boilerplate for emulation of a single PCI device.

Quoted 2 lines

- The 'console' branch is a (PS/2) Keyboard-VGA-Mouse emulator using

libVNCServer which can potentially be used with an HVM guest with PV network and storage drivers, thus removing the need to use QEMU. demu is a small and constrained piece of code and thus presents a much smaller attack surface. The original intention was also to run it in a 'console service domain' to further contain damage it was successfully attacked.

Quoted 2 lines

It's likely that I will patch the code further once my current work on

libxendevicemodel is done (following acceptance of my recent privcmd patches).

<nods>

Quoted 12 lines

Cheers,

Paul

Quoted 6 lines
 demu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Konrad Rzeszutek Wilk (1):
Make it compiler under Xen 4.7.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#10 lore raw
Quoted 50 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 14 February 2017 15:32
To: Paul Durrant <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v1] Make demu.git compiler under Xen 4.7 (and later)

Quoted 6 lines · Paul Durrant
Quoted 6 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 14 February 2017 15:16
To: Paul Durrant <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v1] Make demu.git compiler under Xen 4.7 (and

later)

Quoted 8 lines
Quoted 8 lines · Paul Durrant
Quoted 4 lines
Quoted 4 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 10 February 2017 21:52
To: Paul Durrant <[email protected]>; xen-

[email protected]

Quoted 1 line
Quoted 1 line

Subject: [PATCH v1] Make demu.git compiler under Xen 4.7 (and

later)

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Hey!

This patch lets me compile this emulator under Xen 4.7.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

It probably can be done better (#ifdef magic?) but for right now this gets me past the compile errors.

BTW, are there any other outstanding patches against this tree?

This is still my private project, although if it's generally useful then

maybe it

Quoted 8 lines
Quoted 4 lines

can be adopted as part of the Xen project?

It is a nice project!

Glad you find it useful :-)

Quoted 1 line

By 'adopted' you mean being built as part of xen.git (like minios.git?) -

and

Quoted 4 lines
Quoted 2 lines

all of those requirements?

Something like that, then it can be incorporated as an option into the xen

Quoted 9 lines

build and we can make sure any dependency issues like this are caught in future.

Quoted 2 lines

I guess I'd probably make the 'console' branch master in a more official

repo... I could even look at adding the necessary tooling into libxl to kick it off too :-)

Oooh, and what kind of bribe^H^H^H^H incentive should I send your way?

A time machine? :-)

Paul

Quoted 11 lines
Quoted 8 lines

Paul

Quoted 5 lines
Quoted 2 lines

For the benefit of the list, there are two branches in

http://xenbits.xen.org/gitweb/?p=people/pauldu/demu.git

Quoted 2 lines

- The 'master' branch is a very basic standalone device emulator. It

serves

Quoted 2 lines
Quoted 2 lines

as boilerplate for emulation of a single PCI device.

Quoted 1 line
Quoted 26 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

- The 'console' branch is a (PS/2) Keyboard-VGA-Mouse emulator using

libVNCServer which can potentially be used with an HVM guest with PV network and storage drivers, thus removing the need to use QEMU.

demu is

Quoted 2 lines
Quoted 2 lines

a small and constrained piece of code and thus presents a much smaller attack surface. The original intention was also to run it in a 'console

service

Quoted 19 lines
Quoted 19 lines

domain' to further contain damage it was successfully attacked.

Quoted 2 lines

It's likely that I will patch the code further once my current work on

libxendevicemodel is done (following acceptance of my recent privcmd patches).

<nods>

Quoted 12 lines

Cheers,

Paul

Quoted 6 lines
 demu.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Konrad Rzeszutek Wilk (1):
Make it compiler under Xen 4.7.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#11 lore raw
Quoted 53 lines · Paul Durrant
Quoted 53 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 14 February 2017 15:32
To: Paul Durrant <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v1] Make demu.git compiler under Xen 4.7 (and later)

Quoted 6 lines · Paul Durrant
Quoted 6 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 14 February 2017 15:16
To: Paul Durrant <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v1] Make demu.git compiler under Xen 4.7 (and

later)

Quoted 8 lines
Quoted 8 lines · Paul Durrant
Quoted 4 lines
Quoted 4 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: 10 February 2017 21:52
To: Paul Durrant <[email protected]>; xen-

[email protected]

Quoted 1 line
Quoted 1 line

Subject: [PATCH v1] Make demu.git compiler under Xen 4.7 (and

later)

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Hey!

This patch lets me compile this emulator under Xen 4.7.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

It probably can be done better (#ifdef magic?) but for right now this gets me past the compile errors.

BTW, are there any other outstanding patches against this tree?

This is still my private project, although if it's generally useful then

maybe it

Quoted 8 lines
Quoted 4 lines

can be adopted as part of the Xen project?

It is a nice project!

Glad you find it useful :-)

Quoted 1 line

By 'adopted' you mean being built as part of xen.git (like minios.git?) -

and

Quoted 4 lines
Quoted 2 lines

all of those requirements?

Something like that, then it can be incorporated as an option into the xen

build and we can make sure any dependency issues like this are caught in future.

Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 1 line

I guess I'd probably make the 'console' branch master in a more official

repo... I could even look at adding the necessary tooling into libxl to kick it off too :-)

Oooh, and what kind of bribe^H^H^H^H incentive should I send your way?

A time machine? :-)

Analog or digital? Amazon.co.uk does have a nice list of 'Timex' ones :-)

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel