exec_loop that Qemu will not handle multiple exceptions -
does the situation described above fall into this category?
Thanks in advance,
John
-
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
Public bug reported:
Tested against QEMU: e47f81b617684c4546af286d307b69014a83538a
and $qemu-system-x86_64 --version
QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.9)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
+ exec sudo qemu-system-x86_64 -enable-kvm -bio
I forgot to add that the kernel in that image
(/usr/lib/kernel/org.clearlinux.*) does not have 9p support. So to
compile the kernel I used the attached config
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/
I forgot to add that the kernel in that image
(/usr/lib/kernel/org.clearlinux.*) does not have 9p support. So to
compile the kernel I used the attached config
** Attachment added: "Kernel config"
https://bugs.launchpad.net/qemu/+bug/1815252/+attachment/5237112/+files/.config
--
You received
Damn, I just ran into this bug again! Then realized I'd already reported
it :(
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1815252
Title:
virtio-9p-pci passthrough fsync hang
Status in QEMU:
alogix.com; Duy Le; John Linn
> Subject: [RFC PATCH 1/7] cadence_uart: first revision
>
> Device model for Cadence UART
>
> Signed-off-by: Peter A. G. Crosthwaite
>
Signed-off-by: John Linn
*** My apologies, please ignore the legal footer below which I'm working
on getting re
alogix.com; Duy Le; John Linn
> Subject: [RFC PATCH 2/7] cadence ttc: first revision
>
> Device model for cadence triple timer counter (TTC)
>
> Signed-off-by: Peter A. G. Crosthwaite
>
Signed-off-by: John Linn
*** My apologies, please ignore the legal footer below which I
alogix.com; Duy Le; John Linn
> Subject: [RFC PATCH 3/7] cadence_wdt: first revision
>
> Device model for cadence watchdog timer (WDT)
>
> Signed-off-by: Peter A. G. Crosthwaite
>
Signed-off-by: John Linn
*** My apologies, please ignore the legal footer below which I'm wor
alogix.com; Duy Le; John Linn
> Subject: [RFC PATCH 4/7] cadence_gem: first revision
>
> Device mode for cadence gem ethernet controller.
>
> Signed-off-by: Peter A. G. Crosthwaite
>
Signed-off-by: John Linn
*** My apologies, please ignore the legal footer below which I'm w
onversion and steps towards fully data driven machines which
should be the ultimate objective anyway.
As Peter C says elsewhere in this thread, through its link syntax
foo=<&ref> you can describe any sort of topology you like in a device
tree.
Regards,
John
--
John Williams, PhD, B. Eng, B. IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
addresses but can be overriden in the same
way:
--kernel zImage@0x2000 --initrd fs.img@0x4000
and so on
The '@' symbol will need to be escaped by it's a pretty natural syntax.
John
--
John Williams, PhD, B. Eng, B. IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
On Mon, Jan 30, 2012 at 10:28 AM, John Williams
wrote:
> On Sun, Jan 29, 2012 at 4:51 PM, Peter Crosthwaite
> wrote:
>> Hi All,
>>
>> So on the topic of these command line arguments for initrd, dtb and friends,
>> another related issue we have encountered (and hav
On Mon, Jan 30, 2012 at 12:11 PM, Anthony Liguori wrote:
> On 01/29/2012 06:28 PM, John Williams wrote:
>>
>> On Sun, Jan 29, 2012 at 4:51 PM, Peter Crosthwaite
>> wrote:
>>>
>>> Hi All,
>>>
>>> So on the topic of these command line argum
e machine model? How do we pass arguments to
>> it?
>
>
> You create a device via qdev (now QOM) that takes whatever properties you
> need. You then do:
>
> -device elf-loader,base=0xa0,file=my-elf-binary
>
> No different than adding a network card.
A network card
On Mon, Jan 30, 2012 at 12:48 PM, Anthony Liguori wrote:
>
> On Jan 29, 2012 8:41 PM, "John Williams"
> wrote:
>>
>> >>>> There's an opportunity here - QEMU needs the cmdline ability to load
>> >>>> random
do it using a global, but keep in mind that this will need
>> refactoring.
>
>
> Globals are even worse!
>
> Can't you hear the kernel loader begging to be turned into a device? It's
> pleading with us to stop abusing other parts of QEMU and make it a first
> class citizen of QEMU.
Is there some kind of initialisation phase where such a device can do its thing?
Unless I'm missing something a "loader" device will be racing the rest
of the VM after reset to populate the memory with the desired
contents, no?
John
--
John Williams, PhD, B. Eng, B. IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
> -Original Message-
> From: Edgar E. Iglesias [mailto:edgar.igles...@gmail.com]
> Sent: Saturday, 27 October 2012 2:12 PM
> To: Peter Crosthwaite
> Cc: qemu-devel@nongnu.org Developers; Avi Kivity; Peter Maydell; John
> Williams
> Subject: Re: [Qemu-devel] [RFC
>From f293c406dd2fe751244f2beef4782ccec65fd307 Mon Sep 17 00:00:00 2001
From: John Spencer
Date: Mon, 10 Dec 2012 06:49:57 +0100
Subject: [PATCH 1/4] fix implicit declaration of syscall() in linux-user/mmap.c
on glibc, this header is getting pulled in automatically via
another header, howe
>From ae02bfc600bf8c4c8502e70bdf8dfcd332ebef02 Mon Sep 17 00:00:00 2001
From: John Spencer
Date: Mon, 10 Dec 2012 06:54:03 +0100
Subject: [PATCH 2/4] fix build error on ARM due to wrong glibc check
the test for glibc < 2 "succeeds" wrongly for any non-glibc C library,
and bre
>From 5d410e6e92bbd3ab3a4fadec41a3d87cb9b0feea Mon Sep 17 00:00:00 2001
From: John Spencer
Date: Mon, 10 Dec 2012 06:58:48 +0100
Subject: [PATCH 3/4] fix implicit declaration of syscall() in linux-user/syscall.c
Signed-off-by: John Spencer
---
linux-user/syscall.c |1 +
1 files chan
>From 3d9bc5e06ae64806003f8999b4b7ead42bd19c5d Mon Sep 17 00:00:00 2001
From: John Spencer
Date: Mon, 10 Dec 2012 07:02:49 +0100
Subject: [PATCH 4/4] linux-user/syscall.c: remove wrong forward decl of setgroups()
this declaration is wrong:
the correct prototype on linux is:
int setgroups(siz
the test for glibc < 2 "succeeds" wrongly for any non-glibc C library,
and breaks the build on musl libc.
we must first test if __GLIBC__ is defined at all, before using it
unconditionally.
Signed-off-by: John Spencer
---
user-exec.c |2 +-
1 files changed, 1 insertions(+)
.
Signed-off-by: John Spencer
---
linux-user/syscall.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index fabbcd7..665316e 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -28,6 +28,7 @@
#include
#include
on glibc, this header is getting pulled in automatically via
another header, however on musl we need to include it explicitly.
linux-user/mmap.c:705:9: warning: implicit declaration of function 'syscall'
linux-user/mmap.c:705:9: warning: nested extern declaration of 'syscall'
On 12/10/2012 07:37 AM, Stefan Weil wrote:
Am 10.12.2012 07:16, schrieb John Spencer:
Your patch is not shown here because you had attached it to your email.
Please use "git send-email" to send patches.See also
http://wiki.qemu.org/Contribute/SubmitAPatch.
thanks, resent with git
Signed-off-by: John Spencer
---
linux-user/syscall.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 31d5276..fabbcd7 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -39,6 +39,7 @@
#include
#include
Depending on your networking hardware, you may need to use a virtual
function to access the 10G from a guest. On mine, failing to set up the
xml file correctly resulted in a NAT connection or a bridge connection
instead of the full-speed connection.
This requires libvirt 1.0x BTW.
the xml that wo
On 12/10/2012 06:49 PM, Stefan Weil wrote:
Am 10.12.2012 07:59, schrieb John Spencer:
+#include
This is a workaround for a missing declaration of function syscall
in musl's unistd.h. See my comment to patch 1 for more information.
thanks for noticing! fixed in musl:
http://git
bug report)
thanks.
--
John Fisher
Public bug reported:
HV = 12.04 LTS plus libvirt 1.0x
VM = 12.04 LTS
On the HV there are 12 eth interfaces which we make available to the VM.
We have 4 10G virtual function interfaces, and 8 1G conventionally
bridged interfaces. No matter what order we present the interfaces in
the xml file, they
On 12/12/2012 04:18 AM, Scott Wood wrote:
QEMU is sometimes used in embedded contexts, where graphical support
is unnecessary. The ability to turn off graphics support not only
saves some space, but it eliminates the dependency on pixman.
Signed-off-by: Scott Wood
---
There are undoubtedly some
Thank you Daniel.
I understand what you say and agree. However when presented with a mapping and
an order by libvirt, shouldn't the order be preserved by default? If the OS
scrambles it, then fine, not your problem...
Are we on the right track here, is there some way to control the order
as pres
On 12/12/2012 11:59 AM, john fisher wrote:
>
> Are we on the right track here, is there some way to control the order
> as presented by Qemu when the VM's OS
instead use the correct headers that define these functions.
Requested-by: Stefan Weil
Signed-off-by: John Spencer
---
linux-user/syscall.c |8 +++-
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index e99adab..3167a87 100644
The patch at least allows java to run without segfaulting. I have not
tried to build libreoffice yet.
Late in 2012 libc started using FUTEX_WAIT_BITSET instead of FUTEX_WAIT
so teach qemu about it so it will forward the call to the host kernel
rather than returning -TARGET_ENOSYS. The patch also
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter, sorry I attached this quick patch to the bug for Serge to try
out with the intent of sending a proper patch upstream later.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmai
Upstream libc has recently changed to start using
FUTEX_WAIT_BITSET instead of FUTEX_WAIT and this
is causing do_futex to return -TARGET_ENOSYS.
Pass bitset in val3 to sys_futex which will be
ignored by kernel for the FUTEX_WAIT case.
Signed-off-by: John Rigby
---
linux-user/syscall.c |3
Handle same as existing FUTEX_PRIVATE_FLAG.
Signed-off-by: John Rigby
---
linux-user/strace.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/linux-user/strace.c b/linux-user/strace.c
index 4e91a6e..f8030e0 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -1437,6
Public bug reported:
Seen in qemu-1.0 under 12.04, but AFAICT from current git it hasn't
changed.
./main-loop.c:qemu_signal_init blocks SIGALRM so it can be handled via
signalfd.
./net/tap.c:launch_script does not reset the signal mask before the
execv() call, and signal masks are inherited. So
argument to the SSNAT is the Guest OS network
IP, the rest will be figured out from the underlying TAP device.
Signed-off-by: John Basila
---
net/tap.c| 369 +-
qapi-schema.json |5 +-
qemu-options.hx | 10 ++-
3 files changed, 381
ket
should be "RELATED" to a different connection and thus will cause the response
packets of machine B to be received via machine A as the NAT rule will de-NAT
the return packet to to the relevant connection which is related to machine A.
John
-Original Message-
From: St
iptables.
Regarding the vhost=on, I can disallow the use of both which I think is fair.
John
-Original Message-
From: Stefan Hajnoczi [mailto:stefa...@gmail.com]
Sent: Thursday, August 30, 2012 12:14 PM
To: John Basila
Cc: qemu-devel@nongnu.org; Anthony Liguori
Subject: Re: Adding support for
...@conversis.de]
Sent: Thursday, August 30, 2012 3:38 PM
To: John Basila
Cc: Stefan Hajnoczi; qemu-devel@nongnu.org; Anthony Liguori; Rusty Russell;
netfil...@vger.kernel.org
Subject: Re: Adding support for Stateless Static NAT for TAP devices
On 08/30/2012 12:58 PM, John Basila wrote:
> Please al
Trying to build on a raring amd64 host in a raring armhf chroot, two
failures so far. First time was a hang checking ant, an xlc-ls showed
several java threads hung. Second time was a segfault again in java.
So I have no problems reproducing this now locally. Hang seems like
thread waiting for
I see the same thing javac hanging. This is with a raring chroot on
raring host with qemu compiled from upstream 1.4.0 plus Peter's patches
and my linux-user patches
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launch
I noticed for the case where javac --version hangs the process has
several threads all waiting on futexes. Details attached.
** Attachment added: "dump.out"
https://bugs.launchpad.net/qemu/+bug/1129571/+attachment/3555716/+files/dump.out
--
You received this bug notification because you are
On 09/17/2014 12:42 PM, Michael S. Tsirkin wrote:
On Wed, Sep 17, 2014 at 05:54:28PM +0200, Jan Kiszka wrote:
On 2014-08-21 19:44, John Snow wrote:
In the Intel ICH9 data sheet, the MSI capability offset
in the PCI configuration space for ICH9 AHCI devices is
specified to be 0x80.
Further
meaningful information.
John Snow (3):
blockdev: Add function to search for orphaned drives
Add units-per-idebus property
ahci: implement -cdrom and -hd[a-d]
blockdev.c| 29 +++--
device-hotplug.c | 2 +-
hw/i386/pc_q35.c | 6
Signed-off-by: John Snow
---
blockdev.c| 10 --
device-hotplug.c | 2 +-
hw/i386/pc_q35.c | 3 ++-
include/hw/boards.h | 3 ++-
include/sysemu/blockdev.h | 2 +-
vl.c | 19 +++
6 files changed, 25 insertions
Signed-off-by: John Snow
---
hw/i386/pc_q35.c | 3 +++
hw/ide/ahci.c| 31 +++
hw/ide/ahci.h| 3 +++
3 files changed, 37 insertions(+)
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index fd26fe1..0f33696 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35
Signed-off-by: John Snow
---
blockdev.c| 19 +++
include/sysemu/blockdev.h | 1 +
vl.c | 5 +
3 files changed, 25 insertions(+)
diff --git a/blockdev.c b/blockdev.c
index b361fbb..5e7c93a 100644
--- a/blockdev.c
+++ b/blockdev.c
This helper identifies which port of the AHCI HBA
has a device we may run tests on.
Signed-off-by: John Snow
---
tests/ahci-test.c | 46 +-
1 file changed, 29 insertions(+), 17 deletions(-)
diff --git a/tests/ahci-test.c b/tests/ahci-test.c
index
build_cmd_table is a helper routine to build
the command table, which consists of the Command
FIS and the Physical Region Descriptor Table.
Signed-off-by: John Snow
---
tests/ahci-test.c | 113 +++---
1 file changed, 74 insertions(+), 39 deletions
command slot to allow us
to cycle through the available command slots.
command_destroy obliterates all information contained
within a given slot's command header, and frees its
associated command table, but not its DMA buffer!
Signed-off-by: John Snow
---
tests/ahci-test.c
The purpose of this patch is to aid in debugging the new
malloc-pc interface for guest memory, by enabling the
enforcing of no guest memory blocks in use at exit time.
Signed-off-by: John Snow
---
tests/ahci-test.c | 27 ---
1 file changed, 24 insertions(+), 3 deletions
Add a helper that assists in clearing out potentially
old error and FIS information from an AHCI port's
data structures. This ensures we always start with
a blank slate for interrupt and FIS receipt information.
Signed-off-by: John Snow
---
tests/ahci-test.c | 26 ++--
link_cmd_slot creates the command header, by
setting a pointer to the command table as well as
adjusting other metadata, like DMA direction and
PRDT length.
It effectively links a command, via its table,
to the indicated command slot.
Signed-off-by: John Snow
---
tests/ahci-test.c | 72
A simple helper that asserts a given port is
not busy processing any commands via the
TFD, Command Issue and SACT registers.
Signed-off-by: John Snow
---
tests/ahci-test.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/tests/ahci-test.c b/tests/ahci-test.c
index
Fix to correct the use of "512" as a magic constant and define
it as the buffer size for the operation instead.
Signed-off-by: John Snow
---
tests/ahci-test.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/tests/ahci-test.c b/tests/ahci-test.c
ind
port_check-error checks a given port's error registers
and asserts that everything from the port-level view
is still OK.
Signed-off-by: John Snow
---
tests/ahci-test.c | 30 +++---
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/tests/ahci-test.c b/
Add a routine that can be used to engage the AHCI
device at a not-granular level so that bringing up
the functionality of the HBA is easy in future tests
that are not concerned with testing the bring-up process.
Signed-off-by: John Snow
---
tests/ahci-test.c | 19 ---
1 file
ff-by: John Snow
---
tests/ahci-test.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/tests/ahci-test.c b/tests/ahci-test.c
index 4615681..315e6e9 100644
--- a/tests/ahci-test.c
+++ b/tests/ahci-test.c
@@ -1314,6 +1314,20 @@ static void port_check_
issue_command is a small routine that informs the
AHCI device that we have finalized our command and
we'd wish for the device to begin processing it.
issue_command polls the AHCI device waiting for
the device to finish, in order to achieve a
synchronous effect.
Signed-off-by: John
Adds a few helpers to help sanity-check the response of the
AHCI device after a command.
d2h_check_sanity inspects the D2H Register FIS,
pio_check_sanity inspects the PIO Setup FIS,
and cmd_check_sanity inspects the command header.
Signed-off-by: John Snow
---
tests/ahci-test.c | 123
Instead of using direct hex values, use SATA command mnemonics.
Signed-off-by: John Snow
---
tests/ahci-test.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/tests/ahci-test.c b/tests/ahci-test.c
index 63fc309..e3091b9 100644
--- a/tests/ahci-test.c
+++ b/tests
he operation of the
existing test, or add new tests. It only offers
refactorings for future patch submissions which
depend on them, but are still under consideration.
John Snow (15):
qtest/ahci: Add AHCIState structure
qtest/ahci: Add port_select helper
qtest/ahci: Add port_clear helper
Introduce a state structure that can be used to
conveniently bookmark key values of the AHCI Device
instead of re-polling it all the time. This structure
also helps ease of cleanup.
Signed-off-by: John Snow
---
tests/ahci-test.c | 283 ++
1
On 09/19/2014 06:53 AM, Markus Armbruster wrote:
John Snow writes:
The original version of the AHCI test base
which is now staged for being merged, processes
the ahci_identify test in a monolithic fashion.
In authoring new tests, it became necessary and
obvious as to how the operation of
On 09/19/2014 04:28 AM, Markus Armbruster wrote:
John Snow writes:
Signed-off-by: John Snow
---
blockdev.c| 19 +++
include/sysemu/blockdev.h | 1 +
vl.c | 5 +
3 files changed, 25 insertions(+)
diff --git a/blockdev.c b
For the benefit of the last commenter and anyone else who comes across
this ticket:
As determined on the mailing list in June, the bug appears to be with
KVM's apicv on processors that support the feature. I haven't heard
anything about a fix, but the best workaround is to disable apicv when
loadi
On 09/19/2014 05:53 AM, Markus Armbruster wrote:
John Snow writes:
This is an extremely rough/quick sketch of
a -cdrom/-hda desugaring fix for Q35/AHCI.
Before I spent any time on it, I wanted feedback
from Markus or anyone else who had concerns about
how this problem would get fixed
his information at option parsing time
(e.g, within drive_new), we consider the alternative
of marking the if_max_devs table mutable so that
later configuration and initialization can adjust the
mapping at will, but only up until a drive is added,
at which point the mapping is finalized.
Signed-off-by: J
issue.
A warning in these cases is considered appropriate.
Signed-off-by: John Snow
---
blockdev.c| 21 +
include/sysemu/blockdev.h | 2 ++
vl.c | 12 +++-
3 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/blockdev.c
'units-per-default-bus'
And allows override of any one IF type (block_default)
John Snow (6):
blockdev: Orphaned drive search
blockdev: Allow overriding if_max_dev property
pc/vl: Add units-per-default-bus property
ide: Update ide_drive_get to be HBA agnostic
qtest/bios-tables: Corr
-hd,drive=hd
Which will create a drive and device due to
the lack of specifying if=none. Then, it will
attempt to create a second device and fail.
This patch corrects this test to always use
the full, non-sugared -device/-drive syntax
for both PC and Q35.
Signed-off-by: John Snow
---
tests/bios
Instead of duplicating the logic for the if_ide
(bus,unit) mappings, rely on the blockdev layer
for managing those mappings for us, and use the
drive_get_by_index call instead.
This allows ide_drive_get to work for AHCI HBAs
as well, and can be used in the Q35 initialization.
Signed-off-by: John
overrides the mapping for drives
matching the block_default_type interface.
Signed-off-by: John Snow
---
hw/i386/pc.c| 1 +
hw/i386/pc_q35.c| 3 ++-
include/hw/boards.h | 2 ++
vl.c| 8
4 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/hw/i386/p
: John Snow
---
hw/i386/pc_q35.c | 3 +++
hw/ide/ahci.c| 15 +++
hw/ide/ahci.h| 2 ++
3 files changed, 20 insertions(+)
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index b28ddbb..1664a2d 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -86,6 +86,7 @@ static void
On 08/22/2014 05:05 AM, Stefan Hajnoczi wrote:
On Fri, Aug 22, 2014 at 9:20 AM, Daniel P. Berrange wrote:
On Thu, Aug 21, 2014 at 08:10:54PM -0400, John Snow wrote:
I was running a series of tests on 32 and 64 bit hosts to test for
endianness and variable width issues when I noticed that I
On 09/24/2014 12:24 PM, Max Reitz wrote:
On 24.09.2014 11:44, Stefan Hajnoczi wrote:
The blkdebug block driver is undocumented. Documenting it is worthwhile
since it offers powerful error injection features that are used by
qemu-iotests test cases.
This document will make it easier for peopl
On 09/24/2014 10:35 AM, Markus Armbruster wrote:
John Snow writes:
Instead of duplicating the logic for the if_ide
(bus,unit) mappings, rely on the blockdev layer
for managing those mappings for us, and use the
drive_get_by_index call instead.
This allows ide_drive_get to work for AHCI
On 09/24/2014 10:06 AM, Markus Armbruster wrote:
John Snow writes:
When users use command line options like -hda, -cdrom,
or even -drive if=ide, it is up to the board initialization
routines to pick up these drives and create backing
devices for them.
Some boards, like Q35, have not been
On 09/25/2014 02:13 AM, Markus Armbruster wrote:
John Snow writes:
On 09/24/2014 10:35 AM, Markus Armbruster wrote:
John Snow writes:
Instead of duplicating the logic for the if_ide
(bus,unit) mappings, rely on the blockdev layer
for managing those mappings for us, and use the
cow2,index=5 --> bus=5,unit=0.
The mapping is adjusted based on the fact that the default IF
for the Q35 machine type is IF_IDE, and units-per-default-bus
overrides the IDE mapping from its default of 2 units per bus
to just 1 unit per bus.
Signed-off-by: John Snow
---
hw/i386/pc.c
-hd,drive=hd
Which will create a drive and device due to
the lack of specifying if=none. Then, it will
attempt to create a second device and fail.
This patch corrects this test to always use
the full, non-sugared -device/-drive syntax
for both PC and Q35.
Signed-off-by: John Snow
---
tests/bios
is an issue.
A warning in these cases is considered appropriate.
Signed-off-by: John Snow
---
blockdev.c| 21 +
include/sysemu/blockdev.h | 2 ++
vl.c | 10 +-
3 files changed, 32 insertions(+), 1 deletion(-)
diff --git a
This patch implements the backend for the Q35 board
for us to be able to pick up and use drives defined
by the -cdrom, -hda, or -drive if=ide shorthand options.
Signed-off-by: John Snow
---
hw/i386/pc_q35.c | 4
hw/ide/ahci.c| 15 +++
hw/ide/ahci.h| 2 ++
3 files
nits-per-idebus' to 'units-per-default-bus'
And allows override of any one IF type (block_default)
RFC2:
- Rewrote series to avoid the creation of IF_AHCI.
John Snow (6):
blockdev: Orphaned drive search
blockdev: Allow overriding if_max_dev property
pc/vl: Add units-per-default-b
his information at option parsing time
(e.g, within drive_new), we consider the alternative
of marking the if_max_devs table mutable so that
later configuration and initialization can adjust the
mapping at will, but only up until a drive is added,
at which point the mapping is finalized.
Signed-off-by: J
nature of the argument to
ide_drive_get so that represents the number of
total drives we can support, and not the total
number of buses. This will prevent array overflows
if the units-per-default-bus property ever needs
to be adjusted for compatibility reasons.
Signed-off-by: John Snow
On 09/30/2014 03:54 AM, Markus Armbruster wrote:
John Snow writes:
This patch implements the backend for the Q35 board
for us to be able to pick up and use drives defined
by the -cdrom, -hda, or -drive if=ide shorthand options.
Signed-off-by: John Snow
---
hw/i386/pc_q35.c | 4
On 09/30/2014 03:38 AM, Markus Armbruster wrote:
John Snow writes:
Instead of duplicating the logic for the if_ide
(bus,unit) mappings, rely on the blockdev layer
for managing those mappings for us, and use the
drive_get_by_index call instead.
This allows ide_drive_get to work for AHCI
anning to exclude IF_NONE and
automatically added drives
- Renames 'units-per-idebus' to 'units-per-default-bus'
And allows override of any one IF type (block_default)
RFC2:
- Rewrote series to avoid the creation of IF_AHCI.
John Snow (6):
blockdev: Orphaned drive search
nature of the argument to
ide_drive_get so that represents the number of
total drives we can support, and not the total
number of buses. This will prevent array overflows
if the units-per-default-bus property ever needs
to be adjusted for compatibility reasons.
Signed-off-by: John Snow
This patch implements the backend for the Q35 board
for us to be able to pick up and use drives defined
by the -cdrom, -hda, or -drive if=ide shorthand options.
Signed-off-by: John Snow
---
hw/i386/pc_q35.c | 4
hw/ide/ahci.c| 15 +++
hw/ide/ahci.h| 2 ++
3 files
cow2,index=5 --> bus=5,unit=0.
The mapping is adjusted based on the fact that the default IF
for the Q35 machine type is IF_IDE, and units-per-default-bus
overrides the IDE mapping from its default of 2 units per bus
to just 1 unit per bus.
Signed-off-by: John Snow
---
hw/i386/pc.c
his information at option parsing time
(e.g, within drive_new), we consider the alternative
of marking the if_max_devs table mutable so that
later configuration and initialization can adjust the
mapping at will, but only up until a drive is added,
at which point the mapping is finalized.
Signed-off-by: J
-hd,drive=hd
Which will create a drive and device due to
the lack of specifying if=none. Then, it will
attempt to create a second device and fail.
This patch corrects this test to always use
the full, non-sugared -device/-drive syntax
for both PC and Q35.
Signed-off-by: John Snow
---
tests/bios
is an issue.
A warning in these cases is considered appropriate.
Signed-off-by: John Snow
---
blockdev.c| 21 +
include/sysemu/blockdev.h | 2 ++
vl.c | 10 +-
3 files changed, 32 insertions(+), 1 deletion(-)
diff --git a
backs.
Taken together, these patches should allow non-ncq operation
for Windows hosts, as well as enable hibernation for Windows 7.
Hibernation for Windows 8 and AHCI remains non-functional.
John Snow (6):
ahci: Correct PIO/D2H FIS responses
ahci: Update byte count after DMA completion
ide: r
1 - 100 of 12942 matches
Mail list logo