0 0 0 eth
10.0.3.00.0.0.0 255.255.255.0 U 0 0 0 eth
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
linux-user/ioctls.h | 6 +++--
linux-user/syscall.c | 64
2 files changed, 68 insertions
Tested on m68k on x86_64 as described in the patch comment, in a a debian-etch
linux container.
Works fine, except the drec_len differs between getdents() and getdents64().
See comment below.
Le 2 juin 2013 à 19:10, Peter Maydell peter.mayd...@linaro.org a écrit :
Newer architectures may
I agree with all your comments.
Tested-by: Laurent Vivier laur...@vivier.eu
Reviewed-by: Laurent Vivier laur...@vivier.eu
Le 3 juin 2013 à 13:28, Peter Maydell peter.mayd...@linaro.org a écrit :
On 3 June 2013 12:11, Laurent Vivier laur...@vivier.eu wrote:
Tested on m68k on x86_64
Ping
Le 27/05/2013 20:48, Laurent Vivier a écrit :
This allows to pass the device name.
You can test this with the route command.
WITHOUT this patch:
$ sudo route add -net default gw 10.0.3.1 eth0
SIOCADDRT: Bad address
$ netstat -nr
Kernel IP routing table
Destination Gateway
Le 02/10/2013 20:42, Rob Landley a écrit :
On 10/02/2013 12:09:58 PM, Anthony Liguori wrote:
All of Paul's emails are bouncing and he hasn't been active for
some time.
...
M68K
-M: Paul Brook p...@codesourcery.com
-S: Odd Fixes
+S: Orphan
F: target-m68k/
F: hw/m68k/
Laurent Vivier has
Le 5 septembre 2013 à 15:37, Alexander Graf ag...@suse.de a écrit :
Glibc when built for newer kernels assumes that the sendmmsg syscall is
available.
Without it, dns resolution simply fails to work.
Wrap the syscall with existing infrastructure so that we don't have a host
dependency
Le 06/09/2013 18:33, Peter Maydell a écrit :
On 30 August 2013 00:46, Laurent Vivier laur...@vivier.eu wrote:
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
scripts/lxc-cross-debian | 353 +++
1 file changed, 353 insertions(+)
create mode
Le 06/09/2013 18:17, Peter Maydell a écrit :
On 30 August 2013 00:46, Laurent Vivier laur...@vivier.eu wrote:
The binfmt_misc module can calculate the credentials and security
token according to the binary instead of to the interpreter if the
'C' flag is enabled.
To be able to execute non
From: Laurent Vivier laur...@vivier.eu
This patch allows to set the default cpu model for a given architecture,
for instance:
configure --target-list=m68k-linux-user --m68k-default-cpu=m68040
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
configure | 9 +
1 file changed, 9
From: Laurent Vivier laur...@vivier.eu
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
target-arm/helper.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/target-arm/helper.c b/target-arm/helper.c
index e51ef20..26863d4 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
From: Laurent Vivier laur...@vivier.eu
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
configure | 14 ++
linux-user/main.c | 36 +---
2 files changed, 15 insertions(+), 35 deletions(-)
diff --git a/configure b/configure
index e989609
From: Laurent Vivier laur...@vivier.eu
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
target-m68k/helper.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/target-m68k/helper.c b/target-m68k/helper.c
index 00a7a08..123329a 100644
--- a/target-m68k/helper.c
+++ b/target-m68k/helper.c
are updated as examples : arm and m68k.
Laurent Vivier (4):
linux-user: define default cpu model in configure instead of
linux-user/main.c
linux-user: specify the cpu model during configure
linux-user,m68k: display default cpu
linux-user,arm: display default cpu
configure
Le 07/09/2013 10:43, Peter Maydell a écrit :
On 6 September 2013 21:47, Laurent Vivier laur...@vivier.eu wrote:
This series of patch allows to set the default CPU used by linux-user qemu.
When qemu is used in a container as a binfmt interpreter we can't use the
environment variable QEMU_CPU
Le 9 septembre 2013 à 21:23, Richard Henderson r...@twiddle.net a écrit :
On 09/07/2013 02:19 AM, Peter Maydell wrote:
On 7 September 2013 10:13, Laurent Vivier laur...@vivier.eu wrote:
Le 07/09/2013 10:43, Peter Maydell a écrit :
In fact, I don't understand why a given CPU id has been
Le 12/07/2013 22:12, Peter Maydell a écrit :
For m68k, per-thread data is a purely kernel construct with no
CPU level support. Implement it via a field in the TaskState structure,
used by cpu_set_tls() and the set_thread_area/get_thread_area
syscalls. This allows us to enable compilation with
with NPTL.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reviewed-by: Laurent Vivier laur...@vivier.eu
Hi,
I seek qemu with m68k target.
I didn't find it in CVS.
Is it available ?
Cheers,
Laurent
signature.asc
Description: Ceci est une partie de message numériquement signée.
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
jerome Arbez-Gindre wrote:
Hi,
Hi,
a nice subject for my first post on this list :-P
I'm trying to install a ppc debian on a ppc-qemu, and when Partamn makes
the patitionning, it shows me a Apple partition (32.3 kB) at the very
beginning of the disk.
I suppose that this partition contains
Hi,
As I'm a newcomer, I don't know the story about qemu/pc and scsi disks, but I
propose a little patch to make SCSI disks visible. Disks are not bootable, I
think we should write a BIOS for that ?
Regards,
Laurent
--
- [EMAIL PROTECTED] --
Any sufficiently
Paul Brook wrote:
On Thursday 01 March 2007 17:26, Laurent Vivier wrote:
Hi,
As I'm a newcomer, I don't know the story about qemu/pc and scsi disks, but
I propose a little patch to make SCSI disks visible.
See previous discussion about how the disk options need to be fixed properly
Le jeudi 21 octobre 2010 à 10:07 -0500, Anthony Liguori a écrit :
On 10/21/2010 09:07 AM, Kevin Wolf wrote:
Hi all,
I'm currently looking into adding a return value to qemu's bdrv_flush
function and I noticed that your block drivers (nbd, rbd and sheepdog)
don't implement bdrv_flush at
0508 2**2
CONTENTS
4 load1 0004 2000 2**13
ALLOC, READONLY
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
linux-user/elfload.c | 16 +---
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git
Le samedi 15 janvier 2011 à 16:02 +, Blue Swirl a écrit :
With the sed script below (my first I think), I'm able to convert most
nice script. Did you try awk ?
files in QEMU from C99 comment style to C89. When successive line with
C99 comments are converted, the comments are merged. Two
On Wed, Feb 02, 2011 at 08:28:15PM +0100, Stefan Weil wrote:
[PATCH] linux-user: Fix possible realloc memory leak
(http://patchwork.ozlabs.org/patch/79217/)
Looks ok for me.
And this one ?
linux-user: correct core dump format
http://patchwork.ozlabs.org/patch/78464/
Laurent
--
Hi,
I've no need, just put it in your tree where you want...
Regards,
Laurent
riku voipio riku.voi...@iki.fi a écrit :
On 02/03/2011 12:16 PM, Laurent Vivier wrote:
On Wed, Feb 02, 2011 at 08:28:15PM +0100, Stefan Weil wrote:
[PATCH] linux-user: Fix possible realloc memory leak
(http
On Sat, Feb 05, 2011 at 10:49:51PM +0100, Laurent Vivier wrote:
On 02/03/2011 12:16 PM, Laurent Vivier wrote:
And this one ?
linux-user: correct core dump format
http://patchwork.ozlabs.org/patch/78464/
Actually that patch is not ok. The issues you fix on m68k appear
on arm/eabi after
On 9 February 2011 09:20, Laurent Vivier laur...@vivier.eu wrote:
It is strange as we have in gdb, if I remember correctly, an explicit check
of the size of prstatus:
gdb/bfd/elf.c:
if defined (HAVE_PRSTATUS_T)
static bfd_boolean
elfcore_grok_prstatus (bfd *abfd
0508 2**2
CONTENTS
4 load1 0004 2000 2**13
ALLOC, READONLY
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
linux-user/elfload.c | 16 +---
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git
This is the v2 of my patch correcting the core dump format.
It introduces a new parameter of the target: the alignment size.
For the moment, it seems m68k is the only one that doesn't have 32bit
address alignment but 16bit one.
[PATCH 1/2] Define target alignment size
[PATCH 2/2] linux-user:
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
configure |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 2bf7f34..b71035b 100755
--- a/configure
+++ b/configure
@@ -2902,6 +2902,7 @@ target_nptl=no
interp_prefix1=`echo $interp_prefix
Hi,
Do you plan to boot AIX in one of these partitions ?
Regards,
Laurent
David Gibson da...@gibson.dropbear.id.au a écrit :
This patch series adds a pseries machine to qemu, allowing it to
emulate IBM pSeries logical partitions. Along the way we add a bunch
of support for more modern ppc
0508 2**2
CONTENTS
4 load1 0004 2000 2**13
ALLOC, READONLY
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
v2: use a predefined alignment size for target_elf_prstatus
v3: use target_type aligned according target
for other targets, use by default (2,4,4,8).
Please, update for your favorite target...
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
v2: compute align size for each basic datatype
configure | 13 +
cpu-defs.h | 14 ++
2 files changed, 23 insertions(+), 4
Le dimanche 13 février 2011 à 10:24 +0200, Blue Swirl a écrit :
On Sun, Feb 13, 2011 at 4:22 AM, Laurent Vivier laur...@vivier.eu wrote:
Datatype alignment can be found using following application:
int main(void)
{
printf(alignof(short) %ld\n, __alignof__(short));
printf
0508 2**2
CONTENTS
4 load1 0004 2000 2**13
ALLOC, READONLY
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
v2: use a predefined alignment size for target_elf_prstatus
v3: use target_type aligned according target
for other targets, use by default (2,4,4,8).
Please, update for your favorite target...
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
v2: compute align size for each basic datatype
v3: add alignments for some 64bit targets, renanme long_long to llong
configure | 17
This is the v4 of my patch correcting the core dump format.
(3 versions for patch 2, 3 versions for patch 1 starting at version 2
of patch 2...)
v4 adds some long alignments for 64bit targets,
renames target_long_long to target_llong, and so on...
v3 introduces a new parameter of the target:
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
linux-user/strace.c| 12
linux-user/strace.list |3 +++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/linux-user/strace.c b/linux-user/strace.c
index 183..05277c0 100644
--- a/linux-user/strace.c
|O_LARGEFILE|O_NOCTTY|O_NONBLOCK|0x1) = 0
...
without tswap()
...
30572 open(/usr/share/locale/locale.alias,O_RDONLY) = 3
30572 fstat64(3,0x4080032c) = 0
...
30572 open(mytouch,O_WRONLY|O_CREAT|O_LARGEFILE|O_NOCTTY|O_NONBLOCK,0666) = 0
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
linux-user
]
exportname = /ISO/Fedora-10-ppc-netinst.iso
You can connect to it, using:
qemu -cdrom nbd:isoserver:exportname=debian-500-ppc-netinst
qemu -cdrom nbd:isoserver:exportname=Fedora-10-ppc-netinst
NOTE: you need at least nbd-server 2.9.18
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
block
Le mardi 24 août 2010 à 10:59 +0200, Kevin Wolf a écrit :
Am 24.08.2010 03:04, schrieb Laurent Vivier:
This patch allows to connect Qemu using NBD protocol to an nbd-server
using named exports.
For instance, if on the host isoserver, in /etc/nbd-server/config, you
have:
[generic
]
exportname = /ISO/Fedora-10-ppc-netinst.iso
You can connect to it, using:
qemu -cdrom nbd:isoserver:exportname=debian-500-ppc-netinst
qemu -cdrom nbd:isoserver:exportname=Fedora-10-ppc-netinst
NOTE: you need at least nbd-server 2.9.18
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
v2
Am 25.08.2010 00:21, schrieb Laurent Vivier:
Le mardi 24 août 2010 à 10:59 +0200, Kevin Wolf a écrit :
[...]
Maybe using strlen(EN_OPTSTR) would be clearer? At first I missed the
fact that sizeof includes the null byte, but maybe it's just me.
I think sizeof() is resolved at compile time
]
exportname = /ISO/Fedora-10-ppc-netinst.iso
You can connect to it, using:
qemu -cdrom nbd:isoserver:exportname=debian-500-ppc-netinst
qemu -cdrom nbd:isoserver:exportname=Fedora-10-ppc-netinst
NOTE: you need at least nbd-server 2.9.18
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
v3
On 08/25/2010 03:48 PM, Laurent Vivier wrote:
This patch allows to connect Qemu using NBD protocol to an nbd-server
using named exports.
Does using a named export make the NBD protocol incompatible with a
server that doesn't support named exports? IOW, it's essentially a new
protocol
-by: Laurent Vivier laur...@vivier.eu
---
nbd.c | 20 +++-
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/nbd.c b/nbd.c
index 011b50f..5d7c758 100644
--- a/nbd.c
+++ b/nbd.c
@@ -655,7 +655,7 @@ int nbd_trip(BlockDriverState *bs, int csock, off_t size,
uint64_t
Am 16.09.2010 20:54, schrieb Laurent Vivier:
This patch allows to reduce the boot time from an NBD server from 225
seconds to
5 seconds (time between the boot cd:0 and the kernel init) for the
following command lines:
./qemu-nbd -t ../ISO/debian-500-powerpc-netinst.iso
and
./ppc-softmmu
combines the reply header and payload send operation.
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
v2: use NBD_REPLY_SIZE instead of sizeof(struct nbd_reply)
nbd.c | 25 ++---
1 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/nbd.c b/nbd.c
index 011b50f
block/nbd.c: use default port number when none is specified
qemu-nbd.c: use IANA-assigned port number: 10809
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
block/nbd.c |2 --
qemu-nbd.c |6 +++---
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/block/nbd.c b/block
kB/s)
2221 io/s, 4443 R kB/s 0 W kB/s (2221 io/s, 4443 R kB/s, 0 W kB/s)
0 io/s, 0 R kB/s 0 W kB/s (2221 io/s, 4443 R kB/s, 0 W kB/s)
0 io/s, 0 R kB/s 0 W kB/s (2221 io/s, 4443 R kB/s, 0 W kB/s)
...
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
nbd.c | 10
nbd.h |4
Le dimanche 23 mai 2010 à 08:47 +0100, hadi motamedi a écrit :
While QEMU does indeed works for x86 Windows, current QEMU's m68k
architecture does not included that specific Motorola chip.
Thank you for your reply. Can you please let me know which Motorola
chips are
From: Laurent Vivier laur...@vivier.eu
As it is done for qemu-system with -cpu ?, when cpu_list_id() is missing
for a target, call cpu_list() instead.
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
linux-user/main.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git
Le mercredi 23 décembre 2009 à 10:55 +, Paul Brook a écrit :
The problem is that the whole define is just plain wrong which tells me
that the code is using the bswap functions incorrectly. This really
needs to be fixed by someone who knows the dbdma device. I don't see how
calling
Le mercredi 23 décembre 2009 à 10:55 +, Paul Brook a écrit :
[2] My guess is that the code is cribbed from elsewhere, and the original
source gave the CPU direct access to the ch-regs[] array.
In fact it comes from Mac-On-Linux, src/drivers/dbdma.c
Laurent
--
-
Hi,
I hope everyone had a happy new year! Now that we've finished the 0.12
release and most of us have had a nice break, I think it's time to start
planning for the next release.
0.12 felt a bit rushed to me. I'd like to take a bit more time with
0.13 and try to complete features a bit more
This patch is a new version of qemu-img using NBD device to mount Qemu
disk image.
To not hang on UP system, it needs following patch:
http://article.gmane.org/gmane.linux.drivers.nbd.general/42
If you want to use loop to see partitions, you need this patch:
Hi Marcelo,
qemu-0.11.50 build breaks with
CCx86_64-softmmu/monitor.o
cc1: warnings being treated as errors
/other/srcs/qemu-kvm/monitor.c: In function 'print_cpu_iter':
/other/srcs/qemu-kvm/monitor.c:450: error: format '%ld' expects type 'long
int', but argument 3 has type
+ s-temperature++;
You're going to overheat very quickly.
Apart from making the driver work, is this actually useful?
I wanted the temperature to change with time to give a sense of
something is happening ^_^
The main user I had in mind was someone new to USB and Linux driver
development
qemu-system-ppc is also broken.
A bisect gives me:
c169998802505c244b8bcad562633f29de7d74a4 is first bad commit
commit c169998802505c244b8bcad562633f29de7d74a4
Author: Glauber Costa glom...@redhat.com
Date: Thu Nov 5 16:05:15 2009 -0200
v3: don't call reset functions on cpu initialization
Jorge Lucángeli Obes wrote:
[...]
Laurent, do you want the patches for the functionality that's working
right now? We can divide the (not very big amount of) work that's
left. It consists basically on teaching qemu how to look for command
line options, if none are present on the current
GUERRAZ Francois wrote:
Hello.
Yes but if I understood well, you can't boot on the SCSI device because
of BIOS limitations right?
So the problem remains ... :)
Maybe if you install GRUB and tell him to boot on SCSI.. :)
GRUB uses BIOS...
Laurent
--
- [EMAIL PROTECTED]
Avi Kivity wrote:
Jorge Lucángeli Obes wrote:
My feeling is that config files are outdated. When used with a gui,
you end up writing silly parsers and stuff and still wrecking things
horribly when the the gui writer's expectations don't match reality.
When used without a gui, they increase
Thiemo Seufer wrote:
Jorge Lucángeli Obes wrote:
[snip]
When I read Avi's TODO, I basically thought about getting rid of the
long command lines I had to store in scripts. I wanted to write that
command line once, and then forgetting about it, until I needed to
change it.
Instead of
Hi Anthony,
I think passing only the directory name is better because it can be like a
black box : the user don't have to know how it is inside. And it is much
more simple to use qemu my_pc than qemu -c my_pc/config.
Regards,
Laurent
--
Hi,
On Fri, 31 Aug 2007, [EMAIL PROTECTED] wrote:
I think passing only the directory name is better because it can be
like
a black box : the user don't have to know how it is inside.
I consider this a super downside.
If you think your users are idiots, only idiots will use it [your
Anthony Liguori wrote:
On Fri, 2007-08-31 at 22:13 +0200, [EMAIL PROTECTED] wrote:
Hi Anthony,
I think passing only the directory name is better because it can be like a
black box : the user don't have to know how it is inside. And it is much
more simple to use qemu my_pc than qemu -c
Hi,
I think there is a bug in qemu RTL8139.
RTL8139 uses:
cpu_register_physical_memory(addr + 0, 0x100, s-rtl8139_mmio_io_addr);
But in the comment of cpu_register_physical_memory() we have:
'size' must be a multiple of the target page size.
And I think 0x100 is not a multiple of target page
Daniel P. Berrange wrote:
On Wed, Sep 26, 2007 at 05:47:20PM +0200, Laurent Vivier wrote:
Hi,
I think there is a bug in qemu RTL8139.
RTL8139 uses:
cpu_register_physical_memory(addr + 0, 0x100, s-rtl8139_mmio_io_addr);
But in the comment of cpu_register_physical_memory() we have:
'size
Dan Kenigsberg a écrit :
Real PCs try to boot from a CD, then try the hard drive, and finally go
to the network. And they let their owner change that order.
This patch lets Qemu do the same with -boot dcn.
I'll be happy to hear comments about it,
Personally, I think it's a very good idea.
Hi,
I know this has already been tried, but I hope this time I have the good
approach: this series of 3 patches introduces the support of SCSI devices for
the
PC target (and try to break nothing existing).
[PATCH 1/3] Add args to -cdrom to define where is connected the cdrom
This patch
From: Laurent Vivier [EMAIL PROTECTED](none)
As for -cdrom, this patch introduces a new parameter allowing to
define more information for a disk.
The new parameter is -disk:
-disk file[,if=type][,bus=n][,unit=m][,cyls=c,heads=h,secs=s[,trans=t]]
where type defines the bus type (by default
From: Laurent Vivier [EMAIL PROTECTED](none)
This patch allows to define where is connected the CDROM device (bus,
unit).
It extends the -cdrom syntax to add these paramaters:
-cdrom file[,if=type][,bus=n][,unit=m]
where type defines the interface (by default, ide)
n defines
From: Laurent Vivier [EMAIL PROTECTED](none)
This patch add the support of SCSI disk and cdrom for PC target, using
previously introduced parameters -disk and -cdrom.
For the momemt, it supports only one bus, but more can be added easily.
---
hw/lsi53c895a.c |3 --
hw/pc.c | 16
Daniel P. Berrange a écrit :
On Sun, Oct 28, 2007 at 11:43:33PM +0100, [EMAIL PROTECTED] wrote:
From: Laurent Vivier [EMAIL PROTECTED](none)
This patch allows to define where is connected the CDROM device (bus,
unit).
It extends the -cdrom syntax to add these paramaters:
-cdrom file
Dan Kenigsberg a écrit :
Hi,
I have some newby's questions: is a speedup expected, comparing to ide
We should have a speedup.
But an improvement can also be to interface a _real_ SCSI disk and send directly
to it the SCSI commands generated by the _virtual_ SCSI interface (as it is done
in
This patch allows to define floppy using the -disk syntax.
It adds an interface type floppy.
-fda file is an alias for -disk file,index=0,if=floppy
-fdb file is an alias for -disk file,index=1,if=floppy
--
vl.c | 86 +++
vl.h |
As the parameter fd_filename seems unused and as we can't provide it anymore
using the -disk interface, this patch removes it.
--
hw/an5206.c|2 +-
hw/etraxfs.c |2 +-
hw/integratorcp.c |2 +-
hw/mcf5208.c |2 +-
hw/mips_malta.c|2 +-
This patch allows to define a parallel flash using -disk syntax.
It adds an interface type pflash.
-pflash file is an alias for -disk file,if=pflash
--
vl.c | 59 +--
vl.h |2 +-
2 files changed, 34 insertions(+), 27 deletions(-)
This patch allows to define a flash (mtd) using the -disk syntax.
It adds an interface type mtd
-mtdblock file is an alias for -disk file,if=mtd
--
vl.c | 39 +++
vl.h |5 -
2 files changed, 27 insertions(+), 17 deletions(-)
Index: qemu/vl.c
This patch allows to define SecureDigital disk using -disk syntax
It adds an interface type sd
-sd file becomes the alias of -disk file,if=sd
--
vl.c | 43 ++-
vl.h |3 ++-
2 files changed, 28 insertions(+), 18 deletions(-)
Index: qemu/vl.c
This patch introduces a new parameter allowing to define disks.
The new parameter is -disk:
-disk
file[,if=type][,index=i][,bus=n][,unit=m][,media=d][,cyls=c,heads=h,secs=s[,trans=t]][snapshot=on|off]
where:
file is the disk image
type is the interface type (ide)
i is the
This series of patches add a new interface to qemu to define storages.
The new parameter is -disk:
-disk
file[,if=type][,index=i][,bus=n][,unit=m][,media=d][,cyls=c,heads=h,secs=s[,trans=t]][snapshot=on|off]
where:
file is the disk image
type is the interface type (ide, scsi,
This patch adds the SCSI support for the target PC.
It allows to initalize SCSI interface in the PC init machine.
it adds a new interface type scsi to -disk interface.
-disk file,if=scsi,bus=0,unit=6 allows to connect the disk image file to the
bus 0 with the unit id 6.
if there is no SCSI
Thiemo Seufer a écrit :
Laurent Vivier wrote:
Daniel P. Berrange a écrit :
On Sun, Oct 28, 2007 at 11:43:33PM +0100, [EMAIL PROTECTED] wrote:
From: Laurent Vivier [EMAIL PROTECTED](none)
This patch allows to define where is connected the CDROM device (bus,
unit).
It extends the -cdrom syntax
Le jeudi 08 novembre 2007 à 00:32 +0100, Fabrice Bellard a écrit :
Laurent Vivier wrote:
Thiemo Seufer a écrit :
Laurent Vivier wrote:
Daniel P. Berrange a écrit :
On Sun, Oct 28, 2007 at 11:43:33PM +0100, [EMAIL PROTECTED]
wrote:
From: Laurent Vivier [EMAIL PROTECTED](none
It appears that fd_filename and snapshot are not needed/used by machine
init functions (QEMUMachineInitFunc).
This patch removes them.
Index: qemu/vl.h
===
--- qemu.orig/vl.h 2007-11-08 16:36:36.0 +0100
+++ qemu/vl.h
These two patches are update of the patches previously sent.
[PATCH 1/2][UPDATE] remove unused parameters from QEMUMachineInitFunc
[PATCH 2/2][UPDATED] Add arg -drive to define new drive with more features
Laurent
It appears that fd_filename and snapshot are not needed/used by machine
init functions (QEMUMachineInitFunc).
This patch removes them.
---
hw/an5206.c|4 ++--
hw/etraxfs.c |4 ++--
hw/integratorcp.c |1 -
hw/mcf5208.c |1 -
hw/mips_malta.c|4 ++--
Le lundi 12 novembre 2007 à 18:23 +0200, Blue Swirl a écrit :
On 11/12/07, Laurent Vivier [EMAIL PROTECTED] wrote:
It appears that fd_filename and snapshot are not needed/used by machine
init functions (QEMUMachineInitFunc).
This patch removes them.
I don't know what was the idea
Le lundi 12 novembre 2007 à 18:44 +0200, Blue Swirl a écrit :
On 11/12/07, Laurent Vivier [EMAIL PROTECTED] wrote:
It also defines the default interface type to scsi for targets
realview, SS-5, SS-10, versatilepb, versatileab
to keep old behavior, where -hda is a SCSI disk.
For maximal
Find attached an updated^2 patch.
Laurent
Le lundi 12 novembre 2007 à 17:36 +0100, Laurent Vivier a écrit :
Le lundi 12 novembre 2007 à 18:23 +0200, Blue Swirl a écrit :
On 11/12/07, Laurent Vivier [EMAIL PROTECTED] wrote:
It appears that fd_filename and snapshot are not needed/used
Le mardi 13 novembre 2007 à 22:50 +0200, Blue Swirl a écrit :
On 11/13/07, Laurent Vivier [EMAIL PROTECTED] wrote:
Attached is an updated patch (corrected as you want and with more check
on -drive arguments)
Sparc64 didn't compile until I added a MAX_IDE_BUS #define.
Right. Do you know
This series of patches allows to connect real SCSI device to the virtual
SCSI controller of Qemu using the SCSI Generic interface (/dev/sg)
for instance:
qemu -hda my_disk.qcow2 -drive file=/dev/sg3,if=scsi
[PATCH 1/3] SG support (Synchronous I/O)
This patch allows to connect the virtual
This patch modifies scsi_send_command() to use asynchronous I/O with
SCSI Generic.
This allows to use command with data transfers that are not immediate.
Old behavior can generate softlockup in the guest kernel.
hw/lsi53c895a.c has been modified to manage this new behavior.
---
This patch modifies scsi_read_data() and scsi_write_data()
to use asynchronous I/O whith SCSI Generic.
block-raw.s has been modified to define the number of bytes to
transfer instead of the number of blocks: if nb_sectors is less than zero
the nb_sectors is a number of bytes.
---
block-raw.c
S.A.S.
+ * Based on code by Paul Brook
+ * Based on code by Fabrice Bellard
+ *
+ * Written by Laurent Vivier [EMAIL PROTECTED]
+ *
+ * This code is licenced under the LGPL.
+ *
+ */
+
+#include qemu-common.h
+#include block.h
+#include scsi-disk.h
+
+#ifndef __linux__
+
+SCSIDevice *scsi_generic_init
These patches allow to open file using O_DIRECT and bypass the host I/O cache.
[PATCH 1/2] Add directio parameter to -drive
Using directio=on with -drive will open the disk image
file using O_DIRECT.
[PATCH 2/2] Direct IDE I/O
This patch enhances the -drive ,directio=on mode with
This patch enhances the -drive ,directio=on mode with IDE drive emulation
by removing the buffer used in the IDE emulation.
---
block.c | 10 +++
block.h |2
block_int.h |1
cpu-all.h |1
exec.c | 19 ++
hw/ide.c| 176
This patch add a new parameter to -drive
Using directio=on with -drive will open the disk image file using
O_DIRECT.
By default, directio is set to off.
example:
-drive file=my_disk.qcow2,directio=on
---
block-raw.c|4
block.c|2 +-
block.h|1 +
hw/fdc.c
1 - 100 of 10496 matches
Mail list logo