El 03/07/15 a les 3.59, Yang Hongyang ha escrit:
> Hi Roger,
>
> This seems to be a PVH guest, but IIRC a PVH guest should explicitly
> specify 'pvh' in the config, maybe I'm wrong or did I miss some background?
> Are there any meterial about this?
Not yet. The interface exposed to the guest is
I have attached the code of block-vhd.c.
On Wed, Jul 1, 2015 at 11:18 PM, Akash Talole wrote:
> Hello,
> I want to know about Blktap asynchronous i/o read write operations on VHD.
> I want to know detail flow of program block-VHD.c . How the read write
> operations are performed on VHD .
> And a
flight 59027 linux-3.18 real [real]
http://logs.test-lab.xenproject.org/osstest/logs/59027/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-xl-pvh-intel 11 guest-start fail REGR. vs. 58581
Tests which are failin
On Thu, 2015-07-02 at 16:25 -0400, Elena Ufimtseva wrote:
> On Wed, Jul 1, 2015 at 10:42 AM, Dario Faggioli
> > If I build a PV guest, it breaks:
> >
> > root@Zhaman:~# xl create -c /etc/xen/test.cfg
> > Parsing config from /etc/xen/test.cfg
> > xc: error: panic: xc_dom_x86.c:940: arch_setup_memin
There are two duplicated xenvif_zerocopy_callback() definitions.
Remove one of them.
Signed-off-by: Liang Li
---
drivers/net/xen-netback/common.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h
index 8a495b3..c6cb85a 10064
On Thu, 2015-07-02 at 16:39 +0100, George Dunlap wrote:
> On Thu, Jun 25, 2015 at 1:15 PM, Dario Faggioli
> > diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c
> > index a1945ac..8c36635 100644
> > --- a/xen/common/sched_credit.c
> > +++ b/xen/common/sched_credit.c
> > @@ -374,7
On Thu, 2015-07-02 at 18:17 +0100, George Dunlap wrote:
> On Tue, Jun 30, 2015 at 6:46 PM, Ian Jackson
> wrote:
> > Invent a new `xen-unstable-smoke' flight (in osstest terminology, a
> > `branch').
> >
> > This would be a push gate for xen.git. Its input would be
> > xen.git#staging. Its outp
On Thu, Jul 02, 2015 at 10:02:28PM +0800, Shuai Ruan wrote:
> This patch enables xsaves for hvm guest, includes:
> 1.handle xsaves vmcs init and vmexit.
> 2.add logic to write/read the XSS msr.
>
> Signed-off-by: Shuai Ruan
> ---
> xen/arch/x86/hvm/hvm.c | 40
> +
On Thu, 2015-07-02 at 12:48 +0200, Dario Faggioli wrote:
> [0] http://www.akkadia.org/drepper/futex.pdf
>
And, BTW, this is an (old, but) nice reading as well, about futees:
https://www.kernel.org/doc/ols/2002/ols2002-pages-479-495.pdf
Dario
--
<> (Raistlin Majere)
-
I'm afraid that blktap 3 is not part of Xen and therefore you won't find
many people who can answer questions, at least not on this list.
More generally, questions posed in this way, even on maintained areas of
code, do not often result in much attention, take a look at
http://wiki.xen.org/wiki/As
flight 59028 ovmf real [real]
http://logs.test-lab.xenproject.org/osstest/logs/59028/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-qemuu-rhel6hvm-amd 14 leak-check/checkfail REGR. vs. 59016
test-amd64-i386-xl-qemuu-win
On Fri, 2015-07-03 at 12:20 +0530, Vijay Kilari wrote:
> On Mon, Jun 29, 2015 at 5:53 PM, Ian Campbell wrote:
> > On Mon, 2015-06-22 at 17:31 +0530, vijay.kil...@gmail.com wrote:
> >> +static int vgic_its_process_mapvi(struct vcpu *v, struct vgic_its *vits,
> >> +
Hello,
I want to know about Blktap asynchronous i/o read write operations on
VHD. I want to know detail flow of program block-VHD.c . How the read
write operations are performed on VHD . And any improvement in code would
be done for better read write operations. Description about dynamic d
On Fri, 2015-07-03 at 06:50 +, osstest service owner wrote:
> flight 59037 rumpuserxen real [real]
> http://logs.test-lab.xenproject.org/osstest/logs/59037/
Ian, looks like some body text has ended up in the header section of the
mail.
Perhaps something like this is needed? (maybe with more
On Thu, 2015-07-02 at 18:11 +0100, Ian Jackson wrote:
> The regexp was wrong, resulting in the last digit of the memory being
> mistaken for the number of vcpus (!)
>
> The only consumer of this is ts-logs-capture.
>
> Signed-off-by: Ian Jackson
Acked-by: Ian Campbell
Perhaps at some point in
On Thu, 2015-07-02 at 18:11 +0100, Ian Jackson wrote:
> xenctx is now in /usr/local/lib/xen/bin/xenctx.
> ^^
> Find it by setting PATH in the shell command.
>
> Signed-off-by: Ian Jackson
Acked-by: Ian Campbell
___
Xen-deve
On Thu, 2015-07-02 at 18:11 +0100, Ian Jackson wrote:
> Break out the function find_guests from what was
> fetch_logs_host_guests, and have it save its results in the @guests
> global.
>
> We do this soon because in the next patch we are going to want to
> do something to each guest before we call
On Thu, 2015-07-02 at 18:11 +0100, Ian Jackson wrote:
> Break fetch_xenctx_guest out into its own function, and run it before
> serial_fetch_logs.
>
> This is relevant because serial_fetch_logs sends the Xen debug keys,
> which might dislodge a stuck guest - and, if it does, we would like to
> hav
If a downstream osstest instance has nothing to test it its local
pretest then it will attempt to merge from the upstream instance. If
this fails then it will try again and again generating a new merge
commit each time, even if upstream has not moved.
It is desirable that these merges instead be s
On Thu, 2015-07-02 at 02:21 +0200, Samuel Thibault wrote:
> Ian Campbell, le Fri 26 Jun 2015 11:58:40 +0100, a écrit :
> > This is under #ifdef HAVE_LIBC so went unnoticed before.
> >
> > Signed-off-by: Ian Campbell
>
> Acked-by: Samuel Thibault
Applied, thanks.
flight we test it, rather than a new candidate. The baseline, if
any, is the most recent actually tested revision.
59031: tolerable trouble: blocked/broken/fail/pass
X-Osstest-Failures:
linux-4.1:test-armhf-armhf-xl-credit2:build-check(1):blocked:nonblocking
linux-4.1:test-armhf-armhf-xl-
In 3d56a191 "sg-report-flight: Make bodyprint[f] defer the output" it
became wrong for anything in the main printout part of
sg-report-flight to write directly to STDOUT. However, the two (very
similar) bits of code for handling the two kinds of --include still
used cat.
The result is emails look
Hey,
Here's v2 of my 'campaign' against SEDF.
Updates are:
- I've got George's R-b for the whole series,
- I've applied Andrew's review comment (patch 4)
- OSSTest has stopped testing SEDF already (no sign of it here
http://logs.test-lab.xenproject.org/osstest/logs/59025/)
There is a git b
Signed-off-by: Dario Faggioli
Reviewed-by: George Dunlap
---
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/libxc/Makefile |1 -
tools/libxc/include/xenctrl.h | 12 --
tools/libxc/xc_sedf.c | 78 -
only the interface is left in place, for backward
compile-time compatibility, but every attempt to
use it would throw an error.
Signed-off-by: Dario Faggioli
Reviewed-by: George Dunlap
---
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/libxl/libxl.c|
Signed-off-by: Dario Faggioli
Reviewed-by: George Dunlap
---
xen/common/sched_sedf.c | 1556 ---
1 file changed, 1556 deletions(-)
delete mode 100644 xen/common/sched_sedf.c
diff --git a/xen/common/sched_sedf.c b/xen/common/sched_sedf.c
deleted file
as it is going away from libxc, so these won't build any
longer.
Signed-off-by: Dario Faggioli
Reviewed-by: George Dunlap
---
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/python/xen/lowlevel/xc/xc.c | 70 -
1 file change
Signed-off-by: Dario Faggioli
Reviewed-by: George Dunlap
---
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
docs/INDEX |1 -
docs/man/xlcpupool.cfg.pod.5|4 ---
docs/misc/sedf_scheduler_mini-HOWTO.txt | 44 --
Signed-off-by: Dario Faggioli
Reviewed-by: George Dunlap
---
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
docs/man/xl.cfg.pod.5 | 24
docs/man/xl.pod.1 | 42 --
tools/libxl/xl.h |1
tools/libxl/xl_cmdimpl.c | 139
more specifically, of all the symbols and references
to it.
Signed-off-by: Dario Faggioli
Reviewed-by: George Dunlap
---
Cc: Andrew Cooper
Changes from v1:
- added markers for removed #defines, to help keep bits
of the history, and reduce the likelyhood of accidental
reuse, as requested
On Fri, 2015-07-03 at 11:23 +0100, Ian Jackson wrote:
> In 3d56a191 "sg-report-flight: Make bodyprint[f] defer the output" it
> became wrong for anything in the main printout part of
> sg-report-flight to write directly to STDOUT. However, the two (very
> similar) bits of code for handling the two
On 03/07/15 11:25, Dario Faggioli wrote:
> more specifically, of all the symbols and references
> to it.
>
> Signed-off-by: Dario Faggioli
> Reviewed-by: George Dunlap
> ---
> Cc: Andrew Cooper
>
> Changes from v1:
> - added markers for removed #defines, to help keep bits
>of the history, a
On Thu, 2015-07-02 at 17:50 +0100, Stefano Stabellini wrote:
> On Thu, 2 Jul 2015, Julien Grall wrote:
> > Hi,
> >
> > Ping?
> >
>
> The patch looks very nice.
>
> Reviewed-by: Stefano Stabellini
Acked + applied.
Thanks, sorry for the delay, I thought this was already in.
Ian
On Thu, 2015-07-02 at 11:37 +0100, Julien Grall wrote:
> On 01/07/15 12:00, Julien Grall wrote:
> > Hi all,
>
> Hi Ian,
>
> > This patch series adds support for GICv2 on GICv3. This feature is available
> > only when the GICv3 hardware is compatible with GICv2.
> >
> > When it's the case, the sa
On Wed, 2015-07-01 at 15:38 +0100, Ian Jackson wrote:
> Dario Faggioli writes ("[PATCH 1/2] libxl: turn NUMA placement misconfigs
> into warnings"):
> > instead than errors. More specifically, in libxl,
> > b_info->numa_autoplacement is meant as a way to
> > disable automatic NUMA placement, if on
On 01/07/15 15:46, Roger Pau Monne wrote:
> This new elfnote contains the 32bit entry point into the kernel. Xen will
> use this entry point in order to launch the guest kernel in 32bit protected
> mode with paging disabled.
[...]
> --- a/tools/xcutils/readnotes.c
> +++ b/tools/xcutils/readnotes.c
On Tue, 2015-06-30 at 16:14 +0100, Ian Campbell wrote:
> On Tue, 2015-06-30 at 16:00 +0800, Chen Baozi wrote:
> > From: Chen Baozi
> >
> > Currently the number of vcpus on arm64 with GICv3 is limited up to 8 due
> > to the fixed size of redistributor mmio region. Increasing the size
> > makes the
On Tue, 2015-06-30 at 16:00 +0800, Chen Baozi wrote:
> +mpidr_aff = vcpuid_to_vaffinity(cpu);
> +DPRINT("Create cpu@%"PRIx64" (logical CPUID: %d) node\n", mpidr_aff,
> cpu);
>
> -snprintf(buf, sizeof(buf), "cpu@%u", cpu);
> +snprintf(buf, sizeof(buf), "cpu@%lx", m
On Thu, 2015-07-02 at 02:23 +0200, Samuel Thibault wrote:
> Ian Campbell, le Fri 26 Jun 2015 12:06:09 +0100, a écrit :
> > Also contains a fix from Thomas Leonard (to use %u for "4 + 32", not
> > %lu) previously posted as part of "mini-os: enable compiler check for
> > printk format types" but with
On 03/07/15 11:33, Ian Campbell wrote:
> On Thu, 2015-07-02 at 11:37 +0100, Julien Grall wrote:
>> On 01/07/15 12:00, Julien Grall wrote:
>>> Hi all,
>>
>> Hi Ian,
>>
>>> This patch series adds support for GICv2 on GICv3. This feature is available
>>> only when the GICv3 hardware is compatible with
On Fri, 2015-06-26 at 20:08 +0200, Julien Grall wrote:
> Hi Ian,
>
> On 08/05/2015 13:27, Ian Campbell wrote:
> > This provides specific handlers for the PCI bus relating to matching
> > and translating. It's mostly similar to the defaults but includes some
> > additional error checks and other PC
El 03/07/15 a les 12.36, David Vrabel ha escrit:
> On 01/07/15 15:46, Roger Pau Monne wrote:
>> This new elfnote contains the 32bit entry point into the kernel. Xen will
>> use this entry point in order to launch the guest kernel in 32bit protected
>> mode with paging disabled.
> [...]
>> --- a/too
On Fri, 2015-07-03 at 11:47 +0100, Ian Campbell wrote:
> On Fri, 2015-06-26 at 20:08 +0200, Julien Grall wrote:
> > Hi Ian,
> >
> > On 08/05/2015 13:27, Ian Campbell wrote:
> > > This provides specific handlers for the PCI bus relating to matching
> > > and translating. It's mostly similar to the
On Fri, 2015-06-26 at 19:56 +0200, Julien Grall wrote:
> Hi Ian,
>
> NIT in the title: The final point is not necessary
>
> On 08/05/2015 13:26, Ian Campbell wrote:
> > +static int map_device_children(struct domain *d,
> > + const struct dt_device_node *dev)
> > +{
>
This is for deploying an emergency update under the feet of all
running tests.
Signed-off-by: Ian Jackson
---
mg-update-live | 46 ++
1 file changed, 46 insertions(+)
create mode 100755 mg-update-live
diff --git a/mg-update-live b/mg-update-live
ne
Ian Jackson writes ("[OSSTEST PATCH] mg-update-live: New script"):
> This is for deploying an emergency update under the feet of all
> running tests.
FYI, I actually ran a slightly earlier version of this script so I
think we shouldn't see any more broken emails. About a dozen trees
were updated.
Ian Campbell writes ("Re: [PATCH 1/2] libxl: turn NUMA placement misconfigs
into warnings"):
> On Wed, 2015-07-01 at 15:38 +0100, Ian Jackson wrote:
> > Acked-by: Ian Jackson
>
> Applied both patches with your ack.
Right.
> > But, be aware that you are making a semantic change to the API which
Ian Jackson writes ("[PATCH] xl: Change output from xl -N create to be more
useful"):
> Note that this change is NOT BACKWARDS COMPATIBLE. But it would only
> adversely affects anyone who uses `xl -N create' and then saves and
> processes the JSON. (The output from xl list et al is not changed;
On Thu, 2015-07-02 at 17:30 +0100, Ian Jackson wrote:
> > +printf "%-28s %-8s %-8s %-9s %-10s %-10s\n" \
> > + "Branch" "Basis" "Tip" "#Tip #Tot" "1stTip" "1stNew"
> > +
> > +for branch in $@; do
> > +basis=`./ap-fetch-version-old $branch 2>/dev/null || true`
> > +tip=`./ap-fetch-version
On Thu, Jul 02, 2015 at 01:38:37PM +0100, Ian Jackson wrote:
> Anthony PERARD writes ("Re: [PATCH] libxl: Increase device model startup
> timeout to 1min."):
> > I have tested an increase timeout this night. And here are the result.
> >
> > The machine is a AMD Opteron(tm) Processor 4284, with 8G
Ian Campbell writes ("Re: [OSSTEST PATCH 4/4] ts-logs-capture: Run xenctx
earlier"):
> At first I wondered if before and after might be useful, but I don't
> think the unstuck state would be useful. However two (or more)
> back-to-back ctxt's can often be useful, by giving a snapshot of the
> loop
On 03/07/15 11:56, Ian Campbell wrote:
> On Fri, 2015-07-03 at 11:47 +0100, Ian Campbell wrote:
>> On Fri, 2015-06-26 at 20:08 +0200, Julien Grall wrote:
>>> Hi Ian,
>>>
>>> On 08/05/2015 13:27, Ian Campbell wrote:
This provides specific handlers for the PCI bus relating to matching
and t
On Fri, 2015-06-26 at 15:29 +0100, Ian Jackson wrote:
> Currently, xl -N create produces:
>
> {
> "domid": null,
> "config": {
> "c_info": {
> "type": "pv",
> [etc]
> }
>
> The domid is always NULL (as the domain has not been created at thi
Ian Campbell writes ("Re: [PATCH OSSTEST v3] mg-all-branch-statuses: Show how
up to date each branch is"):
> On Thu, 2015-07-02 at 17:30 +0100, Ian Jackson wrote:
> > This is quite fault-oblivious, isn't it. Oh well.
>
> Yes, the problem is that for branches with no baseline:
> $ ./ap-fetch-vers
Hi Ian,
On 03/07/15 11:59, Ian Campbell wrote:
> On Fri, 2015-06-26 at 19:56 +0200, Julien Grall wrote:
>> I forgot to mention in the previous version that we need to give iomem
>> permission to the guest. Otherwise DOM0 won't be able to map the BAR
>> into the guest.
>
> This boils down to a c
Anthony PERARD writes ("Re: [PATCH] libxl: Increase device model startup
timeout to 1min."):
> On Thu, Jul 02, 2015 at 01:38:37PM +0100, Ian Jackson wrote:
> > I'm starting to think that this might be a real bug but that the bug
> > might be "Linux's I/O subsystem sometimes produces appalling late
Ian Campbell writes ("Re: [PATCH] xl: Change output from xl -N create to be
more useful"):
> On Fri, 2015-06-26 at 15:29 +0100, Ian Jackson wrote:
...
> > -if (debug || dom_info->dryrun)
> > -printf_info(default_output_format, -1, &d_config,
> > -debug ? stderr : st
On Fri, 2015-07-03 at 12:24 +0100, Julien Grall wrote:
> On 03/07/15 11:56, Ian Campbell wrote:
> > On Fri, 2015-07-03 at 11:47 +0100, Ian Campbell wrote:
> >> On Fri, 2015-06-26 at 20:08 +0200, Julien Grall wrote:
> >>> Hi Ian,
> >>>
> >>> On 08/05/2015 13:27, Ian Campbell wrote:
> This provi
Add checks for ignored vcpu fields in HVM mode. HVM vCPUs (BSP and APs) are
always started in 32bit protected mode with paging disabled.
Signed-off-by: Roger Pau Monné
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/domain.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions
This is just a preparatory change to clean up the code in setup_guest.
Should not introduce any functional changes.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/libxc/xc_hvm_build_x86.c | 198
Unify both functions into xc_dom_p2m. Should not introduce any functional
change.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
Cc: Samuel Thibault
---
stubdom/grub/kexec.c | 4 ++--
tools/libxc/include/xc_dom.h | 14 ++
This series are now rebased on top of Paul Durrant "x86/hvm: I/O emulation
cleanup and fix" v5.
This series is split in the following order:
- Patches from 1 to 10 switch HVM domain contruction to use the xc_dom_*
family of functions, like they are used to build PV domains.
- Patches from
This xc_dom_arch will be used in order to build HVM domains. The code is
based on the existing xc_hvm_populate_memory and xc_hvm_populate_params
functions.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/libxc/include/xc_dom.h |
This should not introduce any functional change.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/libxc/include/xc_dom.h | 7 ++--
tools/libxc/xc_dom_arm.c | 38 -
tools/libxc/xc_dom_boot.c| 4 +--
tool
Introduce a very simple (and dummy) domain loader to be used to load the
firmware (hvmloader) into HVM guests. Since hmvloader is just a 32bit elf
executable the loader is fairly simple.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
to
Introduce the notion of a container type into xc_dom_image. This will be
needed by later changes that will also use xc_dom_image in order to build
HVM guests.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/libxc/include/xc_dom.h |
This allows having different arch_setup_meminit implementations based on the
guest type. It should not introduce any functional changes.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/libxc/include/xc_dom.h | 4 ++-
tools/libxc/x
Now that we have all the code in place HVM domain building in libxl can be
switched to use the xc_dom_* family of functions, just like they are used in
order to build PV guests.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/libxl
Signed-off-by: Roger Pau Monné
Cc: Suravee Suthikulpanit
Cc: Aravind Gopalakrishnan
---
xen/drivers/passthrough/amd/iommu_guest.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xen/drivers/passthrough/amd/iommu_guest.c
b/xen/drivers/passthrough/amd/iommu_guest.c
index 59
Introduce a bitmap in x86 xen_arch_domainconfig that allows enabling or
disabling specific devices emulated inside of Xen for HVM guests.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
Cc: Jan Beulich
Cc: Andrew Cooper
---
tools/libxl/lib
Change the physical memory address of the special pages when there are no
emulated devices. On HVM guests the special pages have always been reserved
so that they end at the 0xff000 pfn, but there are some problems with this
approach when used without emulated devices:
- If we want to allow HVMli
Only allow enabling or disabling all the emulated devices inside of Xen,
right now Xen doesn't support enabling specific emulated devices only.
Signed-off-by: Roger Pau Monné
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/domain.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
di
Signed-off-by: Roger Pau Monné
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/hvm/pmtimer.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/xen/arch/x86/hvm/pmtimer.c b/xen/arch/x86/hvm/pmtimer.c
index 8b531d9..335a296 100644
--- a/xen/arch/x86/hvm/pmtimer.c
+++ b/xen/arc
Introduce a new flag in xc_dom_image that turns on and off the emulated
devices. This prevents creating the VGA hole, the hvm_info page and the
ioreq server pages. libxl unconditionally sets it to true for all HVM
domains at the moment.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano
Remove xc_hvm_build_x86.c and xc_hvm_build_arm.c since xc_hvm_build is not
longer used in order to create HVM guests.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/libxc/Makefile | 2 -
tools/libxc/include/xenguest
Signed-off-by: Roger Pau Monné
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/hvm/hpet.c | 13 +
xen/arch/x86/hvm/hvm.c | 1 -
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/xen/arch/x86/hvm/hpet.c b/xen/arch/x86/hvm/hpet.c
index 732504a..9773034 100644
--- a/x
Signed-off-by: Roger Pau Monné
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/hvm/rtc.c | 16
1 file changed, 16 insertions(+)
diff --git a/xen/arch/x86/hvm/rtc.c b/xen/arch/x86/hvm/rtc.c
index fde120b..d6d24c8 100644
--- a/xen/arch/x86/hvm/rtc.c
+++ b/xen/arch/x86/hvm/rtc
Allow the usage of the VCPUOP_initialise, VCPUOP_up, VCPUOP_down and
VCPUOP_is_up hypercalls from HVM guests.
Signed-off-by: Roger Pau Monné
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/hvm/hvm.c | 8
1 file changed, 8 insertions(+)
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arc
This HVM parameter is used to pass a list of loaded modules to the guest.
Right now the number of loaded modules is limited to 1 by the current
implementation, but this interface allows passing more than one module.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian C
Signed-off-by: Roger Pau Monné
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/hvm/vpic.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/xen/arch/x86/hvm/vpic.c b/xen/arch/x86/hvm/vpic.c
index 909b9d0..2eb162a 100644
--- a/xen/arch/x86/hvm/vpic.c
+++ b/xen/ar
This HVM parameter returns a PFN that contains the address of the memory
page where the guest command line has been placed.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
Cc: Jan Beulich
Cc: Andrew Cooper
---
tools/libxc/xc_dom_x86.c
Replace the firmware loaded into HVM guests with an OS kernel. Since the HVM
builder now uses the PV xc_dom_* set of functions this kernel will be parsed
and loaded inside the guest like on PV, but the container is a pure HVM
guest.
Also, if device_model_version is set to none unconditinally set t
Signed-off-by: Roger Pau Monné
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/hvm/vioapic.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/xen/arch/x86/hvm/vioapic.c b/xen/arch/x86/hvm/vioapic.c
index 9de2ff3..4cfc704 100644
--- a/xen/arch/x86/hvm/vioapic.c
+++ b/xen/ar
Allow xc_dom_elfloader to report a guest type as hvm-3.0-x86_32 if it's
running inside of a HVM container and has the PHYS32_ENTRY elfnote set.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
Only xc_dom_elfloader has been switched to sup
Signed-off-by: Roger Pau Monné
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/hvm/stdvga.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/xen/arch/x86/hvm/stdvga.c b/xen/arch/x86/hvm/stdvga.c
index f13983e..87d0725 100644
--- a/xen/arch/x86/hvm/stdvga.c
+++ b/xen/arch/x86/hvm/std
Enable this hypercall for HVM guests in order to fetch the e820 memory
map in the absence of an emulated BIOS. The memory map is populated and
notified to Xen in arch_setup_meminit_hvm.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
Cc: Jan
Signed-off-by: Roger Pau Monné
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/hvm/vpmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/arch/x86/hvm/vpmu.c b/xen/arch/x86/hvm/vpmu.c
index c3273ee..776661d 100644
--- a/xen/arch/x86/hvm/vpmu.c
+++ b/xen/arch/x86/hvm/v
This new elfnote contains the 32bit entry point into the kernel. Xen will
use this entry point in order to launch the guest kernel in 32bit protected
mode with paging disabled.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/xcutil
Signed-off-by: Roger Pau Monné
Cc: Boris Ostrovsky
Cc: Suravee Suthikulpanit
Cc: Aravind Gopalakrishnan
Cc: Jan Beulich
Cc: Andrew Cooper
Cc: Jun Nakajima
Cc: Eddie Dong
Cc: Kevin Tian
---
xen/arch/x86/hvm/svm/svm.c | 16 +---
xen/arch/x86/hvm/vlapic.c | 30
HVM guests have always used the emulated serial console by default, but if
the emulated serial pty cannot be fetched from xenstore try to use the PV
console instead.
Signed-off-by: Roger Pau Monné
Cc: Ian Jackson
Cc: Stefano Stabellini
Cc: Ian Campbell
Cc: Wei Liu
---
tools/console/client/ma
This HVM parameter returns the first free pfn after all the special pages.
It can be used by guests to figure out the first free memory address after
the kernel, ramdisk and special pages. This is interesting for compatibility
reasons in case more special pages are later added, older guests can sti
On Fri, 2015-07-03 at 12:26 +0100, Ian Jackson wrote:
> Ian Campbell writes ("Re: [PATCH OSSTEST v3] mg-all-branch-statuses: Show how
> up to date each branch is"):
> > On Thu, 2015-07-02 at 17:30 +0100, Ian Jackson wrote:
> > > This is quite fault-oblivious, isn't it. Oh well.
> >
> > Yes, the
Break fetch_xenctx_guest out into its own function, and run it before
serial_fetch_logs.
This is relevant because serial_fetch_logs sends the Xen debug keys,
which might dislodge a stuck guest - and, if it does, we would like to
have captured the stuck state with xenctx, rather than the unstuck
on
Two (or more) back-to-back ctxt's can often be useful, by giving a
snapshot of a loop the guest is stuck in.
Signed-off-by: Ian Jackson
---
v2: New patch in this series.
---
ts-logs-capture | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/ts-logs-capture b/ts-logs
We are going to want to reuse this. Adjust the code slightly to
detect right away call sites that pass something other than stdout or
stderr.
No resulting functional change.
Signed-off-by: Ian Jackson
---
v2: New patch in this version of the mini-series
---
tools/libxl/xl_cmdimpl.c | 22
xenctx is now in /usr/local/lib/xen/bin/xenctx.
^^
Find it by setting PATH in the shell command.
Signed-off-by: Ian Jackson
Acked-by: Ian Campbell
---
ts-logs-capture |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ts-logs-capture b/ts-logs-
Break out the function find_guests from what was
fetch_logs_host_guests, and have it save its results in the @guests
global.
We do this soon because in the next patch we are going to want to
do something to each guest before we call serial_fetch_logs.
The loop containing fetch_logs_guest is now i
The regexp was wrong, resulting in the last digit of the memory being
mistaken for the number of vcpus (!)
The only consumer of this is ts-logs-capture.
Signed-off-by: Ian Jackson
Acked-by: Ian Campbell
---
Osstest/TestSupport.pm |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
Now that the command contains PATH, the autogenerated filename is very
ugly.
Signed-off-by: Ian Jackson
---
v2: New patch in this version of the series.
---
ts-logs-capture |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ts-logs-capture b/ts-logs-capture
index b2caa77
Currently, xl -N create produces:
{
"domid": null,
"config": {
"c_info": {
"type": "pv",
[etc]
}
The domid is always NULL (as the domain has not been created at this
stage).
This is annoying if you want to take this output and use it for s
1 - 100 of 241 matches
Mail list logo