From: Volodymyr Babchuk
Implement commands MAKE_ASSIGNABLE and REVERT_ASSIGNABLE in pcid in
the same way as they were implemented in libxl_pci.c
Replace original logic in libxl_pci.c by calling appropriate functions
from pcid.
This is quite huge patch, as lots of code were moved from lixbl_pci.
From: Dmytro Semenets
Signed-off-by: Dmytro Semenets
---
tools/include/xen-pcid.h | 17 +
tools/libs/light/libxl_pci.c | 67 ++-
tools/libs/light/libxl_pcid.c | 38
3 files changed, 90 insertions(+), 32 deletions(-)
diff --git
From: Dmytro Semenets
Signed-off-by: Dmytro Semenets
---
tools/include/xen-pcid.h | 15
tools/libs/light/libxl_pci.c | 52 +++
tools/libs/light/libxl_pcid.c | 66 +++
3 files changed, 102 insertions(+), 31 deletions(-)
diff
From: Dmytro Semenets
Signed-off-by: Dmytro Semenets
---
tools/include/xen-pcid.h | 26
tools/libs/light/libxl_pci.c | 63 ++-
tools/libs/light/libxl_pcid.c | 110 +
tools/libs/light/libxl_vchan.c | 8 +++
tools/libs/light/li
From: Dmytro Semenets
Add possibility to send commands from libxl and execute them on server
side. Libxl vchan adds support for JSON messages processing.
The using of libxl vchan is preventing the client from libxl from reading
and writing from / to the local sysfs directly.To do this, the libxl
From: Dmytro Semenets
Signed-off-by: Dmytro Semenets
---
tools/include/xen-pcid.h | 19
tools/libs/light/libxl_pci.c | 43 +++
tools/libs/light/libxl_pcid.c | 34 ++-
3 files changed, 75 insertions(+), 21 deletions(-
From: Dmytro Semenets
Add draft version of pcid server (based on vchan-node2), which can receive
messages from the client.
Add essential functionality to handle pcid protocol:
- define required constants
- prepare for handling remote requests
- prepare and send an error packet
Signed-off-by: Dm
From: Dmytro Semenets
Signed-off-by: Oleksandr Andrushchenko
Signed-off-by: Dmytro Semenets
---
tools/include/xen-pcid.h | 19
tools/libs/light/libxl_pci.c | 54 ++---
tools/libs/light/libxl_pcid.c | 56 ++-
3 files
From: Oleksandr Andrushchenko
Current vchan implementation, while dealing with XenStore paths,
allocates 64 bytes buffer on the stack which may not be enough for
some use-cases. Make the buffer longer to respect maximum allowed
XenStore path of XENSTORE_ABS_PATH_MAX.
Signed-off-by: Oleksandr And
From: Dmytro Semenets
Moved pcid server from xl command to standalone application
Dmytro Semenets (7):
tools/libs/light: Add vchan support to libxl
tools/xlpcid: Add xlpcid daemon
tools/libs/light: pcid: implement list_assignable command
tools/libs/light: pcid: implement is_device_assign
From: Oleksandr Andrushchenko
Add pcid daemon (based on vchan-node2) implements pcid protocol. Protocol is
OS independed and should work on ane supported OS.
Add essential functionality to handle pcid protocol:
- define required constants
- prepare for handling remote requests
- prepare and send
From: Oleksandr Andrushchenko
Add possibility to send commands from libxl and execute them on server
side. Libxl vchan adds support for JSON messages processing.
The using of libxl vchan is preventing the client from libxl from reading
and writing from / to the local sysfs directly.To do this, t
From: Oleksandr Andrushchenko
Current vchan implementation, while dealing with XenStore paths,
allocates 64 bytes buffer on the stack which may not be enough for
some use-cases. Make the buffer longer to respect maximum allowed
XenStore path of XENSTORE_ABS_PATH_MAX.
Signed-off-by: Oleksandr And
From: Oleksandr Andrushchenko
vchan server creates XenStore entries to advertise its event channel and
ring, but those are not removed after the server quits.
Add additional cleanup step, so those are removed, so clients do not try
to connect to a non-existing server.
Signed-off-by: Oleksandr An
From: Oleksandr Andrushchenko
Add pcid daemon (based on vchan-node2) implements pcid protocol. Protocol is
OS independed and should work on ane supported OS.
Add essential functionality to handle pcid protocol:
- define required constants
- prepare for handling remote requests
- prepare and send
From: Oleksandr Andrushchenko
Add possibility to send commands from libxl and execute them on server
side. Libxl vchan adds support for JSON messages processing.
The using of libxl vchan is preventing the client from libxl from reading
and writing from / to the local sysfs directly.To do this, t
From: Oleksandr Andrushchenko
vchan server creates XenStore entries to advertise its event channel and
ring, but those are not removed after the server quits.
Add additional cleanup step, so those are removed, so clients do not try
to connect to a non-existing server.
Signed-off-by: Oleksandr An
From: Oleksandr Andrushchenko
Current vchan implementation, while dealing with XenStore paths,
allocates 64 bytes buffer on the stack which may not be enough for
some use-cases. Make the buffer longer to respect maximum allowed
XenStore path of XENSTORE_ABS_PATH_MAX.
Signed-off-by: Oleksandr And
From: Dmytro Semenets
When shutting down (or rebooting) the platform, Xen will call stop_cpu()
on all the CPUs but one. The last CPU will then request the system to
shutdown/restart.
On platform using PSCI, stop_cpu() will call PSCI CPU off. Per the spec
(section 5.5.2 DEN0022D.b), the call coul
From: Dmytro Semenets
Use spin-up cpu with disabled interrupts instead PSCI CPU OFF
halt and reboot procedures. Some platforms can't stop CPU via PSCI
because Thrusted OS can't migrate execution to other CPU.
Signed-off-by: Dmytro Semenets
---
xen/arch/arm/shutdown.c | 7 ++-
1 file change
From: Dmytro Semenets
According to PSCI specification ARM TF can return DENIED on CPU OFF.
This patch brings the hypervisor into compliance with the PSCI
specification.
Refer to "Arm Power State Coordination Interface (DEN0022D.b)"
section 5.5.2
Signed-off-by: Dmytro Semenets
Reviewed-by: Volod
21 matches
Mail list logo