> Am 24.10.2016 um 13:44 schrieb Igor Mammedov :
>
>>
>> modified exec.c
>> @@ -1254,7 +1254,11 @@ static void *file_ram_alloc(RAMBlock *block,
>> }
>>
>> block->page_size = qemu_fd_getpagesize(fd);
>> +#if defined(__x86_64__) || defined(__i386__)
>> +block->mr->align = block->pag
On Fri, 29 Apr 2016 15:32:22 +0800
Fam Zheng wrote:
> On Mon, 04/25 13:55, Dominik Dingel wrote:
> > While in the anonymous ram case we already take care of the right alignment
> > such an alignment gurantee does not exist for file backed ram allocation.
>
> s/gurantee/guar
: Halil Pasic
Signed-off-by: Dominik Dingel
---
v2 -> v3:
Skipping additional variable and just use alignment of memory region.
As memory will not be backpropagated it is enough to round up to page_sizes.
v1 -> v2:
While enforcing alignments we allow memory sizes on page_size.
On mmap the memor
On Tue, 12 Apr 2016 23:45:18 +0200
Paolo Bonzini wrote:
>
>
> On 07/04/2016 23:31, Dominik Dingel wrote:
> > diff --git a/exec.c b/exec.c
> > index c4f9036..1ae98e4 100644
> > --- a/exec.c
> > +++ b/exec.c
> > @@ -1241,6 +1241,7 @@ static void *file_r
: Halil Pasic
Signed-off-by: Dominik Dingel
---
v1 -> v2:
While enforcing alignments we allow memory sizes on page_size.
On mmap the memory size will be round up to alignments.
I thought about moving this alignment into qemu_ram_mmap but the result
was a lot of code churn, the other possibility
On Thu, 24 Mar 2016 12:35:10 +0100
Paolo Bonzini wrote:
>
>
> On 23/03/2016 22:32, Dominik Dingel wrote:
> > -page_size = qemu_fd_getpagesize(fd);
> > -block->mr->align = page_size;
> > +alignment = MAX(qemu_fd_getpagesize(fd), QEMU_VMALLOC_
: Halil Pasic
Signed-off-by: Dominik Dingel
---
I thought about moving this alignment into qemu_ram_mmap but the result
was a lot of code churn, the other possibility was to create an additional
define ending up with two defines with the same semantics.
---
exec.c | 16
Following the current discussion on the kvm ML, here are the qemu bits
regarding async page faults. They are responsible for enabling, disabling
the feature and adding a savevm handler for live migration.
Dominik Dingel (1):
Enable async page faults with live migration
target-s390x/kvm.c | 42
S390 can also use async page faults, to enhance guest scheduling.
But in the case of live migration we want to disable the feature and know
if there are still notifications in flight.
Signed-off-by: Dominik Dingel
---
target-s390x/kvm.c | 42 ++
1 file
Use the passed device, if there is no device, use the first applicable device.
Signed-off-by: Dominik Dingel
diff --git a/pc-bios/s390-ccw/main.c b/pc-bios/s390-ccw/main.c
index fd40fa5..be1efe8 100644
--- a/pc-bios/s390-ccw/main.c
+++ b/pc-bios/s390-ccw/main.c
@@ -12,6 +12,7 @@
struct
There is no use in have this splitted in two functions.
Signed-off-by: Dominik Dingel
diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c
index cc3cd23..d14c548 100644
--- a/hw/s390x/ipl.c
+++ b/hw/s390x/ipl.c
@@ -57,16 +57,6 @@ typedef struct S390IPLState {
} S390IPLState;
-static void
Signed-off-by: Dominik Dingel
diff --git a/pc-bios/s390-ccw.img b/pc-bios/s390-ccw.img
index
149cf70140e9e690960b49337b4e5f419c452a86..2c411da9ec0a6dad512c732cb0fd5454a9701ea6
100644
GIT binary patch
literal 17528
zcmeHPeN0@}l|SZE4
zre1HfrCYX5TQ{j9s~fFa301ITRdn-ASrs;@pw?2oTkkI2&91#GOUr7U
This patchset allows the s390 platform to boot from a specified virtio-ccw-blk
device, passed on the commandline.
v2 -> v3
- merge function s390_ipl_cpu and s390_ipl_reset
- refactor boot logic for device
- refactor BIOS code to be more explizit
Dominik Dingel (4):
S390: Merging s390_ipl_
If no kernel IPL entry is specified, boot the bios and pass if available
device information for the first boot device (as given by the boot index).
The provided information will be used in the next commit from the BIOS.
Signed-off-by: Dominik Dingel
diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c
Signed-off-by: Dominik Dingel
diff --git a/pc-bios/s390-ccw.img b/pc-bios/s390-ccw.img
index
149cf70140e9e690960b49337b4e5f419c452a86..4d2145ecb8d658e3a766272a15e15749afb01705
100644
GIT binary patch
literal 17528
zcmeHPe{37qeSbWjL`s&Gv*SASk2$AUNR`BqDcNb&G(c#{QI*bd6h|H8Hi0dhvPDD|
zHHv
Use the passed device, if there is no device, use the first applicable device.
Signed-off-by: Dominik Dingel
diff --git a/pc-bios/s390-ccw/main.c b/pc-bios/s390-ccw/main.c
index fd40fa5..206979f 100644
--- a/pc-bios/s390-ccw/main.c
+++ b/pc-bios/s390-ccw/main.c
@@ -12,6 +12,7 @@
struct
Check for a kernel IPL entry and load kernel image if one was specified.
If no kernel image was supplied and no boot device was specified or the boot
device
is not of type virtio-blk-ccw, print an error message and exit.
Signed-off-by: Christian Paro
Signed-off-by: Dominik Dingel
diff --git a
the first
device
- assign the boot value in the start block
- refactoring of the s390_ipl_cpu function
Dominik Dingel (5):
S390: Add virtio-blk boot
S390: BIOS check for file
S390: BIOS create link to src folder for .img file
S390: BIOS boot from given device
S390: Sync Blob with sou
Add a check if the BIOS blob exists before trying to load.
Signed-off-by: Dominik Dingel
diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c
index bcbba7c..f7a570e 100644
--- a/hw/s390x/ipl.c
+++ b/hw/s390x/ipl.c
@@ -93,6 +93,10 @@ static int s390_ipl_init(SysBusDevice *dev
For *.img files, there will be a link created directly to the src folder,
like for all other blobs.
Signed-off-by: Dominik Dingel
diff --git a/configure b/configure
index cb29b69..2ab54ec 100755
--- a/configure
+++ b/configure
@@ -4389,6 +4389,7 @@ for bios_file in \
$source_path/pc-bios
On Fri, 26 Apr 2013 22:13:14 +0300
Gleb Natapov wrote:
> On Fri, Apr 26, 2013 at 01:55:23PM -0500, Anthony Liguori wrote:
> > Dominik Dingel writes:
> >
> > > On Fri, 26 Apr 2013 11:36:11 -0500
> > > Anthony Liguori wrote:
> > >
> > >> D
On Fri, 26 Apr 2013 18:52:48 +0200
Alexander Graf wrote:
>
> On 26.04.2013, at 14:12, Dominik Dingel wrote:
>
> > From: Christian Paro
> >
> > Provide a loadparm property which can be used to pass IPL load
> > parameters on a per-device basis for VirtioCcw
On Fri, 26 Apr 2013 11:38:00 -0500
Anthony Liguori wrote:
> Alexander Graf writes:
>
> > On 26.04.2013, at 17:48, Dominik Dingel wrote:
> >
> >> On Fri, 26 Apr 2013 17:23:18 +0200
> >> Alexander Graf wrote:
> >>
> >>>
> >>>
On Fri, 26 Apr 2013 11:36:11 -0500
Anthony Liguori wrote:
> Dominik Dingel writes:
>
> > Currently only devices with a positive boot index will be pushed in the
> > fw_boot_order queue, so if no boot index at all will be specified,
> > the queue ends up empty.
> &g
On Fri, 26 Apr 2013 18:56:44 +0200
Alexander Graf wrote:
>
> On 26.04.2013, at 14:12, Dominik Dingel wrote:
>
> > Pass the eboot device info and the loadparm in register 7 and 8.
> > Use this values in the BIOS to directly boot the respective
> > operating sys
On Fri, 26 Apr 2013 18:19:29 +0200
Alexander Graf wrote:
>
> On 26.04.2013, at 14:12, Dominik Dingel wrote:
>
> > Ths patchset enhance the common code to assign every device a bootindex,
> > and provide a function to return the device.
> > The device will be t
On Fri, 26 Apr 2013 17:57:44 +0200
Alexander Graf wrote:
>
> On 26.04.2013, at 17:48, Dominik Dingel wrote:
>
> > On Fri, 26 Apr 2013 17:23:18 +0200
> > Alexander Graf wrote:
> >
> >>
> >> On 26.04.2013, at 14:12, Dominik Dingel wro
On Fri, 26 Apr 2013 18:05:02 +0200
Alexander Graf wrote:
>
> On 26.04.2013, at 18:01, Christian Borntraeger wrote:
>
> > On 26/04/13 17:48, Alexander Graf wrote:
> >
> >>> So I suggest to go with this patch and implement later on what we
> >>> agree upon?
> >>
> >> I don't see how having "fir
On Fri, 26 Apr 2013 17:48:37 +0200
Alexander Graf wrote:
>
> On 26.04.2013, at 17:42, Christian Borntraeger wrote:
>
> > On 26/04/13 17:22, Alexander Graf wrote:
> >>
> >> On 26.04.2013, at 14:12, Dominik Dingel wrote:
> >>
> >>> Check f
On Fri, 26 Apr 2013 17:22:08 +0200
Alexander Graf wrote:
>
> On 26.04.2013, at 14:12, Dominik Dingel wrote:
>
> > Check for a kernel IPL entry and load kernel image if one was
> > specified.
> > If no kernel image was supplied and the first boot device
> > is n
On Fri, 26 Apr 2013 17:23:18 +0200
Alexander Graf wrote:
>
> On 26.04.2013, at 14:12, Dominik Dingel wrote:
>
> > Signed-off-by: Dominik Dingel
> >
> > Check if the BIOS is available before loading it into the memory.
> > Create the needed Links for bui
devs.
Cornelia Huck (4):
s390-ccw.img: Detect devices with stsch.
s390-ccw.img: Enhance drain_irqs().
s390-ccw.img: Rudimentary error checking.
s390-ccw.img: Get queue config from host.
Dominik Dingel (5):
Common: Add a default bootindex for all applicable devices
Common: Add quick
Instead of manually parsing the boot_list as character stream,
we can access the nth boot device, specified by the position in the
boot order.
Signed-off-by: Dominik Dingel
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 6578782..43b961c 100644
--- a/include/sysemu/sysemu.h
,
because we give them the highest available boot index.
Signed-off-by: Dominik Dingel
diff --git a/vl.c b/vl.c
index 6caa5f4..84d7031 100644
--- a/vl.c
+++ b/vl.c
@@ -248,7 +248,7 @@ struct FWBootEntry {
char *suffix;
};
-static QTAILQ_HEAD(, FWBootEntry) fw_boot_order =
+static QTAILQ_HEAD
Pass the eboot device info and the loadparm in register 7 and 8.
Use this values in the BIOS to directly boot the respective
operating system.
Signed-off-by: Dominik Dingel
diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c
index 36daa67..960ba71 100644
--- a/hw/s390x/ipl.c
+++ b/hw/s390x/ipl.c
From: Cornelia Huck
stsch is the canonical way to detect devices. As a bonus, we can
abort the loop if we get cc 3, and we need to check only the valid
devices (dnv set).
Signed-off-by: Cornelia Huck
diff --git a/pc-bios/s390-ccw/main.c b/pc-bios/s390-ccw/main.c
index 67f4987..fd40fa5 100644
-
From: Cornelia Huck
Try to handle at least some of the errors that may happen.
Signed-off-by: Cornelia Huck
diff --git a/pc-bios/s390-ccw/virtio.c b/pc-bios/s390-ccw/virtio.c
index 1bd17d4..e0cede5 100644
--- a/pc-bios/s390-ccw/virtio.c
+++ b/pc-bios/s390-ccw/virtio.c
@@ -84,7 +84,9 @@ static
Signed-off-by: Dominik Dingel
Check if the BIOS is available before loading it into the memory.
Create the needed Links for build.
Add a if the BIOS is available, also add the needed links for the build
process.
diff --git a/configure b/configure
index 19777de..2bbbd54 100755
--- a/configure
From: Christian Paro
Provide a loadparm property which can be used to pass IPL load
parameters on a per-device basis for VirtioCcwDevice instances
representing block and network devices.
Signed-off-by: Christian Paro
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
index 56539d3..23d
From: Cornelia Huck
Ask the host about the configuration instead of guessing it.
Signed-off-by: Cornelia Huck
diff --git a/pc-bios/s390-ccw/virtio.c b/pc-bios/s390-ccw/virtio.c
index e0cede5..5b9e1dc 100644
--- a/pc-bios/s390-ccw/virtio.c
+++ b/pc-bios/s390-ccw/virtio.c
@@ -257,17 +257,21 @@ i
-off-by: Dominik Dingel
diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c
index ace5ff5..9758529 100644
--- a/hw/s390x/ipl.c
+++ b/hw/s390x/ipl.c
@@ -16,6 +16,8 @@
#include "elf.h"
#include "hw/loader.h"
#include "hw/sysbus.h"
+#include "hw/s390x/virtio-ccw.h&quo
From: Cornelia Huck
- Use tpi + tsch to get interrupts.
- Return an error if the irb indicates problems.
Signed-off-by: Cornelia Huck
diff --git a/pc-bios/s390-ccw/virtio.c b/pc-bios/s390-ccw/virtio.c
index 1968fc6..1bd17d4 100644
--- a/pc-bios/s390-ccw/virtio.c
+++ b/pc-bios/s390-ccw/virtio.c
42 matches
Mail list logo