message telling this the user in case of an error.
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Wei Liu
Signed-off-by: Juergen Gross
---
tools/libxl/xl_cmdimpl.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
index 990
i Liu
Signed-off-by: Juergen Gross
---
V2: - limit operation to hardware domain as suggested by Jan Beulich
- some style issues corrected as requested by Jan Beulich
- use fixed width types in interface as requested by Jan Beulich
- add compat layer checking as requested by Jan Beulic
lich
Cc: Andrew Cooper
Cc: Ian Jackson
Cc: David Vrabel
Cc: Stefano Stabellini
Cc: Wei Liu
Signed-off-by: Juergen Gross
---
xen/common/domctl.c | 6 ++
xen/include/public/domctl.h | 3 +++
2 files changed, 9 insertions(+)
diff --git a/xen/common/domctl.c b/xen/common/domctl.c
index
The hypervisor might return EBUSY when trying to remove a cpu from a
cpupool when a domain running in this cpupool has pinned a vcpu
temporarily. Do some retries in this case, perhaps the situation
cleans up.
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Wei Liu
Signed-off-by: Juergen Gross
On 02/03/16 17:51, Daniel Kiper wrote:
> Currently multiboot2 protocol loads image exactly at address specified in
> ELF or multiboot2 header. This solution works quite well on legacy BIOS
> platforms. It is possible because memory regions are placed at predictable
> addresses (though I was not abl
On 04/03/16 10:42, Jan Beulich wrote:
On 03.03.16 at 17:48, wrote:
>> if ( !ret )
>> {
>> ret = schedule_cpu_switch(cpu, NULL);
>> if ( ret )
>> -{
>> cpumask_clear_cpu(cpu, &cpupool_free_cpus);
>> -goto out;
>> +else
>> +
Hi Wei,
On 15/02/16 14:44, Wei Liu wrote:
> On Mon, Feb 15, 2016 at 02:33:05PM +0100, Juergen Gross wrote:
>> On 15/02/16 14:16, Wei Liu wrote:
>>> On Mon, Feb 15, 2016 at 09:07:13AM +, Paul Durrant wrote:
>>>>>
>>> [...]
>>>>> # Op
On 07/03/16 11:51, Wei Liu wrote:
> On Mon, Mar 07, 2016 at 08:21:46AM +0100, Juergen Gross wrote:
>> Hi Wei,
>>
>> On 15/02/16 14:44, Wei Liu wrote:
>>> On Mon, Feb 15, 2016 at 02:33:05PM +0100, Juergen Gross wrote:
>>>> On 15/02/16 14:16, Wei Liu wrote
Sorry, I just found time now to continue with this series.
On 27/10/15 19:54, Konrad Rzeszutek Wilk wrote:
> On Thu, Sep 03, 2015 at 12:45:13PM +0200, Juergen Gross wrote:
>> Add a backend for para-virtualized USB devices for xen domains.
>>
>> The backend is using host-
This is just a test of the mailman bounce mechanism: I want to be sure
that I receive bounce messages (they have been filtered by SUSE's mail
server).
Please don't accept, reject or discard this message. I'll do it myself.
In case it makes it to the list: please ignore. :-)
Juergen
___
On 08/03/16 16:58, Wei Liu wrote:
> On Thu, Mar 03, 2016 at 05:48:50PM +0100, Juergen Gross wrote:
> [...]
>> int libxl_set_vcpuaffinity_all(libxl_ctx *ctx, uint32_t domid,
>> unsigned int max_vcpus,
>>
On 08/03/16 14:16, Dario Faggioli wrote:
> On Thu, 2016-03-03 at 17:48 +0100, Juergen Gross wrote:
>> The hypervisor might return EBUSY when trying to remove a cpu from a
>> cpupool when a domain running in this cpupool has pinned a vcpu
>> temporarily. Do some retries in t
On 08/03/16 18:16, Dario Faggioli wrote:
> On Thu, 2016-03-03 at 17:48 +0100, Juergen Gross wrote:
>> In order to be able to undo a vcpu pin override in case of a kernel
>> driver error add a flag "-f" to the "xl vcpu-pin" command forcing the
>> hyper
The hypervisor might return EBUSY when trying to remove a cpu from a
cpupool when a domain running in this cpupool has pinned a vcpu
temporarily. Do some retries in this case, perhaps the situation
cleans up.
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Wei Liu
Signed-off-by: Juergen Gross
ol
- limit operation to hardware domain as suggested by Jan Beulich
- some style issues corrected as requested by Jan Beulich
- use fixed width types in interface as requested by Jan Beulich
- add compat layer checking as requested by Jan Beulich
Juergen Gross (3):
libxc: do some retries in xc_cpupool
message telling this the user in case of an error.
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Wei Liu
Signed-off-by: Juergen Gross
Reviewed-by: Dario Faggioli
Acked-by: Wei Liu
---
tools/libxl/xl_cmdimpl.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/libxl/
In order to be able to undo a vcpu pin override in case of a kernel
driver error add a flag "-f" to the "xl vcpu-pin" command forcing the
hypervisor to undo the override.
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Wei Liu
Signed-off-by: Juergen Gross
---
V4: - change &quo
laces.
Signed-off-by: Juergen Gross
---
docs/man/xl.cfg.pod.5 | 6 ++
tools/libxl/libxl_create.c | 1 +
tools/libxl/libxl_dm.c | 5 +
tools/libxl/libxl_types.idl | 1 +
tools/libxl/xl_cmdimpl.c| 3 +++
5 files changed, 16 insertions(+)
diff --git a/docs/man/xl.cfg.pod.5 b
This patch series is meant to be applied on top of Chunyan's series
to support pvusb in libxl.
It is adding support for an alternative pvusb backend "qusb" via qemu.
Juergen Gross (3):
libxl: make libxl__need_xenpv_qemu() operate on domain config
libxl: add domain config par
from the domain config
structure.
In order to support other device backends via qemu change the interface
of libxl__need_xenpv_qemu() to take the domain config structure as
input instead of the single device arrays.
Signed-off-by: Juergen Gross
---
tools/libxl/libxl_create.c | 9 +--
tools
Add a new pvusb backend type "qusb" which is provided by qemu. It can
be selected either by specifying the type directly in the configuration
or it is selected automatically by libxl in case there is no "usbback"
driver loaded.
Signed-off-by: Juergen Gross
---
d
device via qdev_device_add(), making patch 1 obsolete
- modify patch 2 to use isoc passthrough via libusb instead of one
job per frame
Juergen Gross (2):
xen: introduce dummy system device
xen: add pvUSB backend
hw/usb/Makefile.objs |4 +
hw/usb/xen-usb.c
Introduce a new dummy system device serving as parent for virtual
buses. This will enable new pv backends to introduce virtual buses
which are removable again opposed to system buses which are meant
to stay once added.
Signed-off-by: Juergen Gross
---
V2: NOT changed, even if requested by
Add a backend for para-virtualized USB devices for xen domains.
The backend is using host-libusb to forward USB requests from a
domain via libusb to the real device(s) passed through.
Signed-off-by: Juergen Gross
---
V2: use xen_be_printf() instead of fprintf() for diagnostic prints as
Use the call_sync_on_phys_cpu() function to call system management mode
on cpu 0.
Signed-off-by: Juergen Gross
---
drivers/hwmon/dell-smm-hwmon.c | 27 ---
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell
r the hypervisor isn't supporting it, issue a
warning once and disable further pinning attempts.
Signed-off-by: Juergen Gross
---
arch/x86/xen/enlighten.c | 40
1 file changed, 40 insertions(+)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlight
Import the actual version of include/xen/interface/sched.h from Xen.
Signed-off-by: Juergen Gross
---
include/xen/interface/sched.h | 100 ++
1 file changed, 82 insertions(+), 18 deletions(-)
diff --git a/include/xen/interface/sched.h b/include/xen
st as short as possible as it might block
sensible vcpu scheduling and maybe other hypervisor functions like
suspending the system which rely on scheduling. To ensure this don't
let the current thread be preempted while the vcpu is pinned in
call_sync_on_phys_cpu().
Signed-off-by: Jue
Use call_sync_on_phys_cpu() to raise SMI on cpu 0.
Signed-off-by: Juergen Gross
---
drivers/firmware/dcdbas.c | 46 --
1 file changed, 20 insertions(+), 26 deletions(-)
diff --git a/drivers/firmware/dcdbas.c b/drivers/firmware/dcdbas.c
index 829eec8
special measures in virtualized environments
like Xen, too.
Signed-off-by: Juergen Gross
---
include/linux/sched.h | 9 +
kernel/sched/core.c | 26 ++
2 files changed, 35 insertions(+)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index a10494a
This patch series is adding a generic function to be able to temporarily
pin a (virtual) cpu to a dedicated physical cpu for executing above
mentioned functions on that specific cpu. The drivers (dcdbas and i8k)
requiring this functionality are modified accordingly.
Juergen Gross (6):
xen: syn
On 11/03/16 13:19, Peter Zijlstra wrote:
> On Fri, Mar 11, 2016 at 12:59:30PM +0100, Juergen Gross wrote:
>> +int call_sync_on_phys_cpu(unsigned cpu, int (*func)(void *), void *par)
>> +{
>> +cpumask_var_t old_mask;
>> +int ret;
>> +
>> +if (cp
On 11/03/16 13:42, Peter Zijlstra wrote:
> On Fri, Mar 11, 2016 at 01:19:50PM +0100, Peter Zijlstra wrote:
>> On Fri, Mar 11, 2016 at 12:59:30PM +0100, Juergen Gross wrote:
>>> +int call_sync_on_phys_cpu(unsigned cpu, int (*func)(void *), void *par)
>>> +{
>
On 11/03/16 13:57, Peter Zijlstra wrote:
> On Fri, Mar 11, 2016 at 01:48:12PM +0100, Juergen Gross wrote:
>> On 11/03/16 13:42, Peter Zijlstra wrote:
>>> how about something like:
>>>
>>> struct xen_callback_struct {
>>> struct work_struct
In order to prepare using the virtual mapped linear p2m list for
migration split mapping of the p2m leaf pages into a separate function.
Signed-off-by: Juergen Gross
Reviewed-by: Andrew Cooper
---
tools/libxc/xc_sr_save_x86_pv.c | 77 -
1 file changed
limit themselves to 512 GB memory size in order not to break
migration.
Signed-off-by: Juergen Gross
---
docs/features/migration.pandoc| 7 ---
tools/libxc/xc_dom_compat_linux.c | 2 +-
tools/libxc/xc_dom_core.c | 2 ++
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a
ion.pandoc according to changes done in the
series in patch 4 (requested by Andrew Cooper)
Juergen Gross (4):
libxc: split mapping p2m leaves into a separate function
libxc: support of linear p2m list for migration of pv-domains
libxc: stop migration in case of p2m list structural changes
libxc
defines for the
xen regions use those defines when doing page table checks as well.
Signed-off-by: Juergen Gross
---
tools/libxc/xc_sr_save_x86_pv.c | 193 ++--
1 file changed, 184 insertions(+), 9 deletions(-)
diff --git a/tools/libxc/xc_sr_save_x86_pv.c b
event.
Signed-off-by: Juergen Gross
---
tools/libxc/xc_sr_common.h | 12 +++
tools/libxc/xc_sr_save.c | 7 ++-
tools/libxc/xc_sr_save_x86_hvm.c | 7 +++
tools/libxc/xc_sr_save_x86_pv.c | 45
4 files changed, 70 insertions(+), 1
76e4b12961a9f54f5021809074196dfe6dbba
> Bug not present: cd353959cdfbe06c2a6abfd73f03f40b84e1e3f1
> Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/66373/
>
>
> commit 81a76e4b12961a9f54f5021809074196dfe6dbba
> Author: Juergen Gross
> Date: Thu Nov 12 14:43:3
On 15/12/15 08:59, Juergen Gross wrote:
> On 15/12/15 08:24, osstest service owner wrote:
>> branch xen-unstable
>> xenbranch xen-unstable
>> job test-amd64-i386-rumpuserxen-i386
>> testid guest-start
>>
>> Tree: linux
>> git://git.kernel.org/pub
On 15/12/15 13:26, Ian Campbell wrote:
> On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote:
>> After starting the xenstore domain write the basic data (domid and
>> name) to the xenstore.
>>
>> Add a new option to init-xenstore-domain to be able to specify the
&g
On 15/12/15 13:23, Ian Campbell wrote:
> On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote:
>> Don't start a new xenstore domain in case one is already detected to
>> be running.
>>
>> Signed-off-by: Juergen Gross
>> ---
>>
On 15/12/15 13:32, Ian Campbell wrote:
> On Tue, 2015-12-15 at 13:28 +0100, Juergen Gross wrote:
>> On 15/12/15 13:23, Ian Campbell wrote:
>>> On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote:
>>>> Don't start a new xenstore domain in case one is
On 15/12/15 13:52, Ian Campbell wrote:
> On Tue, 2015-12-15 at 13:47 +0100, Juergen Gross wrote:
>> On 15/12/15 13:31, Ian Campbell wrote:
>>> On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote:
>>>> Xenstore messages for diagnostic purposes are lost today in
On 15/12/15 12:52, Andrew Cooper wrote:
> On 15/12/15 06:33, Juergen Gross wrote:
>> In order to be able to migrate pv-domains with more than 512 GB of RAM
>> the p2m information can be specified by the guest kernel via a virtual
>> mapped linear p2m list instead of a 3
On 15/12/15 15:06, Andrew Cooper wrote:
> On 15/12/15 12:55, Juergen Gross wrote:
>> On 15/12/15 13:52, Ian Campbell wrote:
>>> On Tue, 2015-12-15 at 13:47 +0100, Juergen Gross wrote:
>>>> On 15/12/15 13:31, Ian Campbell wrote:
>>>>> On Fri, 2
On 15/12/15 14:56, Andrew Cooper wrote:
> On 15/12/15 12:14, Juergen Gross wrote:
>> On 15/12/15 12:52, Andrew Cooper wrote:
>>> On 15/12/15 06:33, Juergen Gross wrote:
>>>> In order to be able to migrate pv-domains with more than 512 GB of RAM
>>>> t
On 15/12/15 13:16, Ian Campbell wrote:
> On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote:
>> The program init-xenstore-domain to start a xenstore domain instead
>> of the xenstored daemon is built, but not installed. Change that.
>>
>> Signed-off-by: Juerge
On 15/12/15 13:49, Ian Campbell wrote:
> On Tue, 2015-12-15 at 13:34 +0100, Juergen Gross wrote:
>> On 15/12/15 13:26, Ian Campbell wrote:
>>> On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote:
>>>> After starting the xenstore domain write the basic data (domid
On 15/12/15 13:31, Ian Campbell wrote:
> On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote:
>> Xenstore messages for diagnostic purposes are lost today in case
>> xenstore is running under mini-os instead in a dom0 daemon.
>
> Where does vfprintf end up under mini-os?
On 15/12/15 14:19, Ian Campbell wrote:
> On Tue, 2015-12-15 at 13:53 +0100, Juergen Gross wrote:
>>
>>> mem-set too perhaps?
>>
>> Without mini-os supporting ballooning or memory hotplug up to now:
>> I don't think so. :-)
>
> Sure, but you'
On 15/12/15 16:01, Andrew Cooper wrote:
> On 15/12/15 14:57, Juergen Gross wrote:
>> On 15/12/15 15:06, Andrew Cooper wrote:
>>> On 15/12/15 12:55, Juergen Gross wrote:
>>>> On 15/12/15 13:52, Ian Campbell wrote:
>>>>> On Tue, 2015-12-15 at 13:47 +010
On 15/12/15 13:47, Ian Campbell wrote:
> On Tue, 2015-12-15 at 13:40 +0100, Juergen Gross wrote:
>> On 15/12/15 13:32, Ian Campbell wrote:
>>> On Tue, 2015-12-15 at 13:28 +0100, Juergen Gross wrote:
>>>> On 15/12/15 13:23, Ian Campbell wrote:
>>>>> On
On 15/12/15 22:41, Daniel De Graaf wrote:
> On 15/12/15 07:16, Ian Campbell wrote:
>> On Fri, 2015-12-11 at 16:47 +0100, Juergen Gross wrote:
>>> The program init-xenstore-domain to start a xenstore domain instead
>>> of the xenstored daemon is built, but not installed.
k_vm_state hook but do the check decision
internally
- Modified docs/features/migration.pandoc according to changes done in the
series in patch 4 (requested by Andrew Cooper)
Juergen Gross (4):
libxc: split mapping p2m leaves into a separate function
libxc: support of linear p2m list for migra
In order to prepare using the virtual mapped linear p2m list for
migration split mapping of the p2m leaf pages into a separate function.
Signed-off-by: Juergen Gross
Reviewed-by: Andrew Cooper
---
tools/libxc/xc_sr_save_x86_pv.c | 77 -
1 file changed
defines for the
xen regions use those defines when doing page table checks as well.
Signed-off-by: Juergen Gross
Reviewed-by: Andrew Cooper
---
tools/libxc/xc_sr_common_x86_pv.h | 7 ++
tools/libxc/xc_sr_save_x86_pv.c | 194 +++---
2 files changed, 188
event.
Signed-off-by: Juergen Gross
Reviewed-by: Andrew Cooper
---
tools/libxc/xc_sr_common.h | 12 +++
tools/libxc/xc_sr_save.c | 7 ++-
tools/libxc/xc_sr_save_x86_hvm.c | 7 +++
tools/libxc/xc_sr_save_x86_pv.c | 45
4 files
limit themselves to 512 GB memory size in order not to break
migration.
Signed-off-by: Juergen Gross
Reviewed-by: Andrew Cooper
---
docs/features/migration.pandoc| 7 ---
tools/libxc/xc_dom_compat_linux.c | 2 +-
tools/libxc/xc_dom_core.c | 2 ++
3 files changed, 7 insertions(+), 4
On 15/12/15 14:30, Juergen Gross wrote:
> On 15/12/15 14:19, Ian Campbell wrote:
>> On Tue, 2015-12-15 at 13:53 +0100, Juergen Gross wrote:
>>>
>>>> mem-set too perhaps?
>>>
>>> Without mini-os supporting ballooning or memory hotplug up to now:
>
On 17/12/15 11:01, Ian Campbell wrote:
> On Thu, 2015-12-17 at 09:26 +0100, Juergen Gross wrote:
>> On 15/12/15 14:30, Juergen Gross wrote:
>>> On 15/12/15 14:19, Ian Campbell wrote:
>>>> On Tue, 2015-12-15 at 13:53 +0100, Juergen Gross wrote:
>
On 15/12/15 16:44, Juergen Gross wrote:
> On 15/12/15 16:01, Andrew Cooper wrote:
>> On 15/12/15 14:57, Juergen Gross wrote:
>>> On 15/12/15 15:06, Andrew Cooper wrote:
>>>> On 15/12/15 12:55, Juergen Gross wrote:
>>>>> On 15/12/15 13:52, Ian Campb
On 18/12/15 11:45, Ian Campbell wrote:
> On Thu, 2015-12-17 at 14:59 -0600, Jonathan Creekmore wrote:
>> Add machinery to allow the schedulers to be individually selectable
>> through the Kconfig interface.
>
> So I don't want to pick on this series or schedulers specifically here, but
> instead d
On 18/12/15 12:30, Jan Beulich wrote:
On 18.12.15 at 12:08, wrote:
>> What I'd really like to see in the config options are things like:
>>
>> CONFIG_BIGMEM (instead of doing it via environment variable),
>> NR_CPUS, and possibly some other numerical bounds which won't select
>> a feature, bu
When restarting or shutting down dom0 the xendomains script tries to
stop all other domains. Don't do this for the xenstore domain, as it
might survive a dom0 reboot in the future.
The same applies to xl shutdown --all.
Signed-off-by: Juergen Gross
---
tools/hotplug/Linux/xendomains.in
Additional add some diagnostic messages to the program to have an idea
why it failed.
Signed-off-by: Juergen Gross
Acked-by: Ian Campbell
Acked-by: Daniel De Graaf
---
tools/helpers/init-xenstore-domain.c | 104 ---
1 file changed, 83 insertions(+), 21
Add libxl_xenstore_domid() to obtain the domain id of the xenstore
domain.
Signed-off-by: Juergen Gross
---
tools/libxl/libxl.c | 24
tools/libxl/libxl.h | 11 +++
2 files changed, 35 insertions(+)
diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
index
Support the xenstore domain flag for obtaining domain info.
Signed-off-by: Juergen Gross
---
tools/libxc/include/xenctrl.h | 2 +-
tools/libxc/xc_domain.c | 17 +
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/tools/libxc/include/xenctrl.h b/tools/libxc
Add a parameter to init-xenstore-domain for support of arbitrary
parameters for the xenstore domain.
Signed-off-by: Juergen Gross
Acked-by: Ian Campbell
Acked-by: Daniel De Graaf
---
tools/helpers/init-xenstore-domain.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions
ing modify the coding style to the standard style used in
the tools directory.
Signed-off-by: Juergen Gross
---
tools/Makefile| 1 +
tools/helpers/Makefile| 34 +
tools/helpers/init-xenstore-domain.c | 128 ++
tool
Split up tools/helpers/xen-init-dom0.c in order to prepare reusing
generation of the json configuration by init-xenstore-domain.c.
Signed-off-by: Juergen Gross
---
tools/helpers/Makefile| 2 +-
tools/helpers/init-dom-json.c | 59 ++
tools/helpers/init
Move xen-init-dom0 from tools/libxl to tools/helpers, as it is just a
helper program.
Signed-off-by: Juergen Gross
---
tools/helpers/Makefile | 10 ++
tools/{libxl => helpers}/xen-init-dom0.c | 0
tools/libxl/Makefile | 14 +++---
3 fi
d more xenstore
entries, add error messages as requested by Ian Campbell
- drop former patch 9
- add new patch 13 to avoid stopping xenstore domain on dom0 shutdown
Juergen Gross (13):
xen: add xenstore domain flag to hypervisor
libxc: support new xenstore domain flag in libxc
libxl: provid
--memory
[--flask ]
[--ramdisk ]
The flask label is made optional in order to support xenstore domains
without the need of a flask enabled hypervisor.
Signed-off-by: Juergen Gross
---
tools/helpers/init-xenstore-domain.c | 82
When creating a xenstore domain via init-xenstore-domain destroy it
in case of an error occurred after calling xc_domain_create().
Signed-off-by: Juergen Gross
Acked-by: Daniel De Graaf
---
tools/helpers/init-xenstore-domain.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff
Create the xenstore domain with the xs_domain flag specified. This
enables us to test whether such a domain is already running before
we create it. As there ought to be only one xenstore in the system
we don't need to start another one.
Signed-off-by: Juergen Gross
---
tools/helpers
x27;s name.
Signed-off-by: Juergen Gross
---
tools/helpers/Makefile | 5 ++--
tools/helpers/init-xenstore-domain.c | 44
2 files changed, 43 insertions(+), 6 deletions(-)
diff --git a/tools/helpers/Makefile b/tools/helpers/Makefile
index cf
xenstore domain already being present to connect to.
Cc: Jan Beulich
Cc: Keir Fraser
Cc: Tim Deegan
Cc: Andrew Cooper
Cc: David Vrabel
Signed-off-by: Juergen Gross
Acked-by: Daniel De Graaf
---
xen/common/domain.c | 6 ++
xen/common/domctl.c | 14 +-
xen
On 18/12/15 14:53, Andrew Cooper wrote:
> On 18/12/15 13:14, Juergen Gross wrote:
>> Add libxl_xenstore_domid() to obtain the domain id of the xenstore
>> domain.
>>
>> Signed-off-by: Juergen Gross
>
> What are the expected semantics here? Would you ex
xl list is currently limited to 1024 domains. Remove the limit.
Signed-off-by: Juergen Gross
---
tools/libxl/libxl.c | 37 ++---
1 file changed, 18 insertions(+), 19 deletions(-)
diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
index 9207621..83e37a9
On 18/12/15 15:42, Andrew Cooper wrote:
> On 18/12/15 13:14, Juergen Gross wrote:
>> When restarting or shutting down dom0 the xendomains script tries to
>> stop all other domains. Don't do this for the xenstore domain, as it
>> might survive a dom0 reboot in the future.
On 18/12/15 15:20, Doug Goldstein wrote:
> On 12/18/15 4:30 AM, Ian Campbell wrote:
>> On Tue, 2015-12-15 at 07:12 -0600, Doug Goldstein wrote:
>>> The following series is a follow on to the Kconfig conversion
>>> patch series.
>>
>> It occurred to me this morning that we probably ought to stash
>
On 18/12/15 15:47, Andrew Cooper wrote:
> On 18/12/15 14:34, Juergen Gross wrote:
>> xl list is currently limited to 1024 domains. Remove the limit.
>>
>> Signed-off-by: Juergen Gross
>
> libxl_list_vm() needs similar treatment. In fact, it looks as if it
> sho
On 18/12/15 15:34, Juergen Gross wrote:
> xl list is currently limited to 1024 domains. Remove the limit.
>
> Signed-off-by: Juergen Gross
Found a bug, will send V2 soon (together with two other patches
addressing a similar limitation in xl vm-list and tools/xenstat.
Juergen
>
get_domain_ids() in libxenstat used by read_attributes_qdisk() is
limited to 1024 domains. Remove that limit.
Signed-off-by: Juergen Gross
---
tools/xenstat/libxenstat/src/xenstat_qmp.c | 67 +-
1 file changed, 29 insertions(+), 38 deletions(-)
diff --git a/tools
libxl_list_vm() is calling xc_domain_getinfolist() today with a limit
of 1024 domains. To avoid open coding a loop around
xc_domain_getinfolist() to avoid the 1024 domain limit just use
libxl_list_domain() instead.
Suggested-by: Andrew Cooper
Signed-off-by: Juergen Gross
---
tools/libxl
There are some places in Xen tools which will work for only up to
1024 domains. Remove this limit.
Changes in V2:
- corrected a little error in patch 1 at end of loop (index -1 used
in array)
- added patches 2 and 3
Juergen Gross (3):
libxl: remove the xl list limit of 1024 domains
libxl
xl list is currently limited to 1024 domains. Remove the limit.
Signed-off-by: Juergen Gross
---
tools/libxl/libxl.c | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
index 9207621..86b08d9 100644
--- a
On 02/11/15 06:51, Juergen Gross wrote:
> The Xen hypervisor supports starting a dom0 with large memory (up to
> the TB range) by not including the initrd and p2m list in the initial
> kernel mapping. Especially the p2m list can grow larger than the
> available virtual space in the ini
On 05/01/16 16:46, Ian Campbell wrote:
> On Fri, 2015-12-18 at 14:14 +0100, Juergen Gross wrote:
>> diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h
>> index 3fc3824..6304eb9 100644
>> --- a/xen/include/xsm/xsm.h
>> +++ b/xen/include/xsm/xsm.h
>> @
On 06/01/16 16:59, Ian Campbell wrote:
> On Fri, 2015-12-18 at 15:10 +0100, Juergen Gross wrote:
>> On 18/12/15 14:53, Andrew Cooper wrote:
>>> On 18/12/15 13:14, Juergen Gross wrote:
>>>> Add libxl_xenstore_domid() to obtain the domain id of the xenstore
>&g
On 06/01/16 16:52, Ian Campbell wrote:
> On Fri, 2015-12-18 at 14:14 +0100, Juergen Gross wrote:
>> Support the xenstore domain flag for obtaining domain info.
>>
>> Signed-off-by: Juergen Gross
>> ---
>> tools/libxc/include/xenctrl.h | 2 +-
>&
On 06/01/16 17:03, Ian Campbell wrote:
> On Fri, 2015-12-18 at 14:14 +0100, Juergen Gross wrote:
>> The program init-xenstore-domain to start a xenstore domain instead
>> of the xenstored daemon is built, but not installed. Change that.
>>
>> Move the program to a new
On 07/01/16 11:33, Wei Liu wrote:
> On Thu, Jan 07, 2016 at 11:21:04AM +0100, Juergen Gross wrote:
>> On 06/01/16 16:40, Wei Liu wrote:
>>> On Wed, Dec 16, 2015 at 10:24:18AM +0100, Juergen Gross wrote:
>>> [...]
>>>> @@ -698,21 +868,19 @@ static int n
On 07/01/16 11:55, Ian Campbell wrote:
> On Thu, 2016-01-07 at 11:44 +0100, Juergen Gross wrote:
>>>> IMO the generic concept you are asking for should be added in a
>>>> separate patch handling stopping (and possibly rebooting) driver
>>>> domains in a clea
limit themselves to 512 GB memory size in order not to break
migration.
Signed-off-by: Juergen Gross
Reviewed-by: Andrew Cooper
Acked-by: Wei Liu
Acked-by: Ian Campbell
---
docs/features/migration.pandoc| 7 ---
tools/libxc/xc_dom_compat_linux.c | 2 +-
tools/libxc/xc_dom_core.c
On 07/01/16 16:06, Ian Campbell wrote:
> On Thu, 2016-01-07 at 14:55 +, Andrew Cooper wrote:
>> c/s 7bf7458 "libxc: support of linear p2m list for migration of
>> pv-domains" breaks compilation on CentOS 7 because of 'ptes' being
>> possibly uninitialised after the 'err:' label.
>>
>> The migra
On 07/01/16 23:19, Boris Ostrovsky wrote:
> With commit 8c45adec18e0 ("libxc: create unmapped initrd in domain
> builder if supported") location of ramdisk may not be available to
> HVMlite guests by the time alloc_magic_pages_hvm() is invoked if the
> guest supports unmapped initrd.
>
> So let's
Create the xenstore domain with the xenstore flag specified. This
enables us to test whether such a domain is already running before
we create it. As there ought to be only one xenstore in the system
we don't need to start another one.
Signed-off-by: Juergen Gross
---
V3: omit dom0 when che
601 - 700 of 2168 matches
Mail list logo