[XEN PATCH v5] x86/monitor: Add new monitor event to catch I/O instructions

2023-03-21 Thread Dmitry Isaykin
Adds monitor support for I/O instructions. Signed-off-by: Dmitry Isaykin Signed-off-by: Anton Belousov --- Changes in v5: * Rebase on staging Changes in v4: * Avoid the use of fixed-width types * Document vm_event_io structure fields * Untie vm-event interface from ioreq one Changes in v3

[XEN PATCH v4] x86/monitor: Add new monitor event to catch I/O instructions

2023-03-20 Thread Dmitry Isaykin
Adds monitor support for I/O instructions. Signed-off-by: Dmitry Isaykin Signed-off-by: Anton Belousov --- Changes in v4: * Avoid the use of fixed-width types * Document vm_event_io structure fields * Untie vm-event interface from ioreq one Changes in v3: * Rebase on staging * Refactor

[XEN PATCH v3] x86/monitor: Add new monitor event to catch I/O instructions

2023-03-17 Thread Dmitry Isaykin
Adds monitor support for I/O instructions. Signed-off-by: Dmitry Isaykin Signed-off-by: Anton Belousov Acked-by: Tamas K Lengyel --- Changes in v3: * Rebase on staging * Refactor branch logic on monitor_traps response Changes in v2: * Handled INS and OUTS instructions too * Added I/O

[XEN PATCH v2] x86/monitor: Add new monitor event to catch I/O instructions

2023-03-15 Thread Dmitry Isaykin
Adds monitor support for I/O instructions. Signed-off-by: Dmitry Isaykin Signed-off-by: Anton Belousov --- Changes in v2: * Handled INS and OUTS instructions too * Added I/O monitoring support for AMD * Rename functions and structures (remove "_instruction" part) * Reorder

[XEN PATCH] x86/monitor: Add new monitor event to catch I/O instructions

2023-03-10 Thread Dmitry Isaykin
Adds monitor support for I/O instructions. Signed-off-by: Dmitry Isaykin Signed-off-by: Anton Belousov --- tools/include/xenctrl.h| 1 + tools/libs/ctrl/xc_monitor.c | 13 + xen/arch/x86/hvm/hvm.c | 5 + xen/arch/x86/hvm/monitor.c

Re: [PATCH v5] tools/xl: fix autoballoon regex

2021-11-09 Thread Dmitry Isaykin
Up15:24, 1 октября 2021 г., Dmitry Isaykin <isaikin-dmi...@yandex.ru>:This regex is used for auto-balloon mode detection based on Xen command line.The case of specifying a negative size was handled incorrectly.From misc/xen-command-line documentation:dom0_mem (x86)= List of ( min:

[PATCH v5] tools/xl: fix autoballoon regex

2021-10-01 Thread Dmitry Isaykin
lue. If a size is negative, it is subtracted from the total available memory. Also add support for [tT] granularity suffix. Also add support for memory fractions (i.e. '50%' or '1G+25%'). Signed-off-by: Dmitry Isaykin Reviewed-by: Anthony PERARD --- Changes in v5: - add Anthony's revie

[PATCH v4] tools/xl: fix autoballoon regex

2021-09-29 Thread Dmitry Isaykin
lue. If a size is negative, it is subtracted from the total available memory. Also add support for [tT] granularity suffix. Also add support for memory fractions (i.e. '50%' or '1G+25%'). Signed-off-by: Dmitry Isaykin --- Changes in v4: - improve regex after code review Changes in v3: -

Re: [PATCH v3] tools/xl: fix autoballoon regex

2021-09-28 Thread Dmitry Isaykin
Thanks! That's a good idea. I will do it in v4 patch.It seems that "dom0_mem=" is a correct setting. It means "give all unused by hypervisor memory to dom0".15:36, 28 сентября 2021 г., Anthony PERARD :On Thu, Sep 16, 2021 at 03:15:21PM +0300, Dmitry Isaykin wrote: This re

[PATCH v3] tools/xl: fix autoballoon regex

2021-09-16 Thread Dmitry Isaykin
lue. If a size is negative, it is subtracted from the total available memory. Also add support for [tT] granularity suffix. Also add support for memory fractions (i.e. '50%' or '1G+25%'). Signed-off-by: Dmitry Isaykin --- Changes in v3: - add support for [tT] granularity suffix - add supp

[Xen-devel] [PATCH] tools/xl: Remove the filelock when building VM if autoballooning is off

2019-03-11 Thread Dmitry Isaykin
The presence of this filelock does not allow building several VMs at the same time. This filelock was added to prevent other xl instances from using memory freeed for the currently building VM in autoballoon mode. Signed-off-by: Dmitry Isaykin --- tools/xl/xl_vmcontrol.c | 14 +- 1