Network interfaces naming changes in domUs with >10 vifs (Debian bug 1042842)

2023-08-02 Thread zithro
apparent sort order changed as a result - generally, I think Linux world established quite some time ago that ethN names are not stable - It's definitely a complicated issue. Perhaps best to post to xen-devel so we can have a discussion. I expect the answer is not-a-Xen bug, but I don't think we have a clear understanding of the problem yet -- zithro / Cyril

[RFC] network hotplug scripts - set qlen 1000 by default

2023-08-22 Thread zithro
dev ${dev} qlen 1000 in "xen-network-common.sh" on line 140 (right after "ip link set dev ${dev} up"). What do you think ? Thanks, -- ++ zithro / Cyril

Re: Detecting whether dom0 is in a VM

2023-07-05 Thread zithro
On 05 Jul 2023 17:51, George Dunlap wrote: Hey all, The following systemd issue was brought to my attention: https://github.com/systemd/systemd/issues/28113 I think basically, they want `systemd-detect-virt` return the following values: Xen on hardware, from a dom0: `none` Xen on hardware, f

Re: Detecting whether dom0 is in a VM

2023-07-06 Thread zithro
On 06 Jul 2023 09:02, Jan Beulich wrote: On 05.07.2023 18:20, zithro wrote: So I'm wondering, isn't that path enough for correct detection ? I mean, if "/sys/class/dmi/id/sys_vendor" reports Xen (or KVM, or any other known hypervisor), it's nested, otherwise it's

Re: [PATCH] docs/man: add shutdown reasons to xl (list) man page

2024-03-08 Thread zithro
On 06 Mar 2024 16:43, Anthony PERARD wrote: On Tue, Mar 05, 2024 at 11:45:13PM +0100, zithro / Cyril Rébert wrote: Add the shutdown reasons to the paragraph of "xl list" concerning the shutdown status. I have copy/pasted the explanations from the source code : - tools/xl/xl_in

Re: [PATCH v2] docs/man: add shutdown reasons to xl (list) man page

2024-03-21 Thread zithro
On 20 Mar 2024 17:08, Anthony PERARD wrote: On Fri, Mar 08, 2024 at 04:19:20PM +0100, zithro / Cyril Rébert wrote: Questions (unblocking): - why a double space between all sentences ? It's an English thing maybe? Wikipedia has an article about it: https://en.wikipedia.org

Re: [PATCH] tools/xentop: add option to display dom0 first

2024-02-06 Thread zithro
: Cyril Rébert (zithro) Hi Cyril, Hi Anthony, Your patch looks like a good idea Thanks, I also have a "display dom id column" in the pipes, almost ready to send, but I found kind of a bug doing this (field_id/fields offsets off by one). Are there "most wanted functionnalit

Re: [PATCH] tools/xentop: add option to display dom0 first

2024-02-08 Thread zithro
roy domain 'mydomu' ? _ 2) Like (2) but add a confirmation step : To pause 'mydomu', type [y/yes/pause/dom_name/etc]: _ This confirm step could be user-chosen with a cmdline option, like : -c/-m [no-confirm/y/yes/action-name/dom-id/dom-name] 3) Arrow-keys and menu driven: select the domain select the action (could also be used to display more domain info/config) ))) -- ++ zithro / Cyril

The "64bits time_t transition" in Debian/Xen

2024-02-12 Thread zithro
ds like there's some work needed first" (Not answering the question because I'm just a messenger). Relevant links: https://wiki.debian.org/ReleaseGoals/64bit-time https://bugs.debian.org/1063270 (xen: NMU diff for 64-bit time_t transition) Thanks -- ++ zithro / Cyril

xenstored: EACCESS error accessing control/feature-balloon 1

2023-04-12 Thread zithro
iour (ie. no xenstore access error in dom0, no xen* commands in domU). So is this a problem with TrueNAS rather than with Xen ? If so I apologize for wasting your time. Thanks, have a nice day ! (and as it's my first post here: thx for Xen, it rocks) zithro

Re: xenstored: EACCESS error accessing control/feature-balloon 1

2023-05-04 Thread zithro
uenas anyways, but are you going to alter the xenstore/toolstack ? In that case it may be good to tell them at the same time. Thanks all, Kind regards, zithro/Cyril

Re: xenstored: EACCESS error accessing control/feature-balloon 1

2023-05-04 Thread zithro
On 04 May 2023 17:59, Yann Dirson wrote: On 5/4/23 15:58, zithro wrote: Hi, [ snipped for brevity, report summary: XAPI daemon in domU tries to write to a non-existent xenstore node in a non-XAPI dom0 ] On 12 Apr 2023 18:41, Yann Dirson wrote: Is there anything besides XAPI using this node

Re: xenstored: EACCESS error accessing control/feature-balloon 1

2023-05-09 Thread zithro
On 09 May 2023 10:50, Yann Dirson wrote: On 5/4/23 20:04, zithro wrote: On 04 May 2023 17:59, Yann Dirson wrote: On 5/4/23 15:58, zithro wrote: Hi, [ snipped for brevity, report summary: XAPI daemon in domU tries to write to a non-existent xenstore node in a non-XAPI dom0 ] On 12 Apr 2023

Re: [PATCH] tools/xl: add suspend-to-ram and resume subcommands

2024-07-29 Thread zithro
Added my S-o-B (no other change). On 29 Feb 2024 08:00, zithro / Cyril Rébert wrote: The xl command doesn't provide suspend/resume, so add them : xl suspend-to-ram xl resume This patch follows a discussion on XenDevel: when you want the virtualized equivalent of "sleep&q

Re: [PATCH] tools/xl: add suspend-to-ram and resume subcommands

2024-07-29 Thread zithro
Added my S-o-B (no other change). PS: re-sent to account for Anthony mail address change On 29 Feb 2024 08:00, zithro / Cyril Rébert wrote: The xl command doesn't provide suspend/resume, so add them : xl suspend-to-ram xl resume This patch follows a discussion on XenDevel: whe

[PATCH] tools/xl: add suspend-to-ram and resume subcommands

2024-02-28 Thread zithro / Cyril Rébert
The xl command doesn't provide suspend/resume, so add them : xl suspend-to-ram xl resume This patch follows a discussion on XenDevel: when you want the virtualized equivalent of "sleep"-ing a host, it's better to suspend/resume than to pause/unpause a domain. Suggested-by: Andrew Cooper Su

[PATCH] docs/man: add shutdown reasons to xl (list) man page

2024-03-05 Thread zithro / Cyril Rébert
Add the shutdown reasons to the paragraph of "xl list" concerning the shutdown status. I have copy/pasted the explanations from the source code : - tools/xl/xl_info.c (L379) - xen/include/public/sched.h (starting L158) Suggested-by: Roger Pau Monné Signed-off-by: Cyril Réber

[PATCH v2] docs/man: add shutdown reasons to xl (list) man page

2024-03-08 Thread zithro / Cyril Rébert
variable "shed_shutdown_reason" Suggested-by: Roger Pau Monné Signed-off-by: Cyril Rébert / zithro --- v2: - apply changes from Anthony and Roger Questions (unblocking): - why a double space between all sentences ? - how to get a "simple LF" ? Ie. I want to use , not (a sim

[PATCH] tools/misc: fix xenwatchdogd invocation

2024-03-25 Thread zithro / Cyril Rébert
/spaces/, indentation, etc). Bug fix only, no functional change intended. Reported-by: Leigh Brown Suggested-by: Andrew Cooper Signed-off-by: Cyril Rébert / zithro --- - Not sure about the preprocessor stanzas, copied them from xentop. - A small explanation about what the program does could be

[PATCH] tools/xentop: fix sorting bug for some columns

2024-02-04 Thread zithro / Cyril Rébert
From: Cyril Rébert Sort doesn't work on columns VBD_OO, VBD_RD, VBD_WR and VBD_RSECT. Fix by adjusting variables names in compare functions. Bug fix only. No functional change. Signed-off-by: Cyril Rébert (zithro) --- tools/xentop/xentop.c | 10 +- 1 file changed, 5 insertions(

[PATCH v2] tools/xentop: add option to display dom0 first

2024-02-06 Thread zithro / Cyril Rébert
Add a command line option to xentop to be able to display dom0 first, on top of the list. This is unconditional, so sorting domains with the S option will also ignore dom0. Signed-off-by: Cyril Rébert (zithro) --- Changes in v2: - bug fix - add documentation --- docs/man/xentop.1.pod | 6

[PATCH v3] tools/xentop: add option to display dom0 first

2024-02-07 Thread zithro / Cyril Rébert
From: Cyril Rébert Add a command line option to xentop to be able to display dom0 first, on top of the list. This is unconditional, so sorting domains with the S option will also ignore dom0. Signed-off-by: Cyril Rébert (zithro) --- Changes in v3: (none, just reformatting patch correctly