[Qemu-devel] [Bug 1374905] [NEW] Pixelation issue in 16-bit color VGA graphics

2014-09-28 Thread Alex
Public bug reported: What happened: I ran the 9front installation ISO (here: http://r-36.net/9front/9front-3853.02ebd469f43a.iso.bz2) in QEMU, with a blank qcow2, using `qemu-system-i386 -hda 9front.qcow2.img -cdrom 9front-3853.02ebd469f43a.iso -boot d -vga std -m 1G`. During the console boot,

[Qemu-devel] [PATCH] nvme: Fix get/set number of queues feature

2014-12-05 Thread alex
From: Alex Friedman According to the specification, the low 16 bits should contain the number of I/O submission queues, and the high 16 bits should contain the number of I/O completion queues. Signed-off-by: Alex Friedman --- hw/block/nvme.c | 6 -- 1 file changed, 4 insertions(+), 2

[Qemu-devel] [Bug 1505062] [NEW] Regression: QEMU 2.4 on Linux 4.2 fails to init display with SMM enabled

2015-10-11 Thread Alex
Public bug reported: QEMU version: 2.4, also tested b37686f (2015-10-09 12:18:13 +0100) not working. Requires KVM and SDL, possibly others. Kernel version: 4.1 working, 4.2 not working. Architecture: x86_64 Target: x86_64, also tested i386 not working. Step 0: Install versions listed above. Step

Re: [Qemu-devel] [PATCH 0/4] set the OEM fields in the RSDT and the FADT from the SLIC

2016-01-14 Thread Alex
what we were testing. Anyway I'll keep an eye on this and if I get hardware capable of testing it, then I'll do so. Rich. /--Regards, Alex/

Re: [Qemu-devel] [PATCH 0/4] set the OEM fields in the RSDT and the FADT from the SLIC

2016-01-15 Thread Alex
On 15/01/16 19:07, Richard W.M. Jones wrote: On Thu, Jan 14, 2016 at 05:35:21PM +0100, Laszlo Ersek wrote: On 01/14/16 11:23, Richard W.M. Jones wrote: On Thu, Jan 14, 2016 at 01:06:05PM +0300, Alex wrote: Richard, I just posted HW test results to https://bugzilla.redhat.com/show_bug.cgi?id

[Qemu-devel] [Bug 1225187] [NEW] qemu hangs in windows 7 host with -serial pipe:windbg

2013-09-13 Thread alex
Public bug reported: Execution line: qemu-system-i386.exe -m 512 c:\Disks\Qemu_XP_en.vhd -serial pipe:windbg It waits for the pipe. Execute windbg c:\WINDDK\7600.16385.1\Debuggers\windbg.exe -k com:pipe,port=\\.\pipe\windbg,resets=0,reconnect GUI black screen shown. QEMU hangs. qemu v1.5.3 (c

[Qemu-devel] [Bug 1181796] Re: Qemu locks up when incoming serial fills up

2013-09-15 Thread alex
It seems the same problem with windbg #1225187 The patch above does not solve the problem. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1181796 Title: Qemu locks up when incoming serial fills up

[Qemu-devel] planet-ltc.com

2011-11-22 Thread Alex
Preferred Domain Availability Notice: planet-ltc.com will be listed for auction in a few days. This domain might be useful for you, since you own a domain similar to this domain. To confirm interest in owning this domain, fill out the simple form here: planet-ltc.com Sincerely,Alex

[Qemu-devel] planet-ltc.com

2011-11-22 Thread Alex
Preferred Domain Availability Notice: planet-ltc.com will be listed for auction in a few days. This domain might be useful for you, since you own a domain similar to this domain. To confirm interest in owning this domain, fill out the simple form here: planet-ltc.com Sincerely,Alex

[Qemu-devel] planet-ltc.com

2011-11-23 Thread Alex
Preferred Domain Availability Notice: planet-ltc.com will be listed for auction in a few days. This domain might be useful for you, since you own a domain similar to this domain. To confirm interest in owning this domain, fill out the simple form here: planet-ltc.com Sincerely

[Qemu-devel] planet-ltc.com

2011-11-23 Thread Alex
Preferred Domain Availability Notice: planet-ltc.com will be listed for auction in a few days. This domain might be useful for you, since you own a domain similar to this domain. To confirm interest in owning this domain, fill out the simple form here: planet-ltc.com Sincerely

[Qemu-devel] [Bug 1505062] Re: Regression: QEMU 2.4 on Linux 4.2 fails to init display with SMM enabled

2015-10-18 Thread Alex
fixed in linux ** Changed in: qemu Status: New => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1505062 Title: Regression: QEMU 2.4 on Linux 4.2 fails to init display with SMM ena

[Qemu-devel] Re: linux-test-0.5.1.tar.gz seems outdated, but isn't

2006-06-17 Thread Alex
It is well docummented. The defalt nic card is ne2k-pci and it is not Debian specific. -- Alex. "Geert Stappers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ___ > Qemu-devel mailing list > Qem

[Qemu-devel] Re: "invisible wall" patch

2006-06-17 Thread Alex
This patch has been around for a while but never committed to the mainstream. Are there any known issues with the patch? -- Alex. "Julian Seward" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Could somebody please commit, or at least consider committin

[Qemu-devel] Re: Re: "invisible wall" patch

2006-06-17 Thread Alex
I have not updated my sources this week. But in the past few months I had to manually apply the patch to make Qemu workable. And I use it a lot. Thanks for a great product. -- Alex. "Julian Seward" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday

[Qemu-devel] Novell Client on Win2k

2006-06-17 Thread Alex
ter that I was able to login to netware network with "net use" but the Novel login crushed if I had not been already authenticated. It looks like NT4 guest do have similar problems, but XP does not. Needless to say that both NT and 2k client work fine on real

[Qemu-devel] Novell Client on Win2k

2006-06-17 Thread Alex
ter that I was able to login to netware network with "net use" but the Novel login crushed if I had not been already authenticated. It looks like NT4 guest do have similar problems, but XP does not. Needless to say that both NT and 2k client work fine on real

[Qemu-devel] Compile error on Windows

2006-08-16 Thread Alex
vl.o(.text+0x57b0): In function `do_savevm': c:/qemu/vl.c:4570: undefined reference to `gettimeofday' -- Alex. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

[Qemu-devel] Re: Compile error on Windows

2006-08-16 Thread Alex
of QEMU with no problem (last time from from a July 27 snapshot) -- Alex. "Armistead, Jason" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Alex > > Some inevitable question others will ask: > > what is your machine's configuration and bu

[Qemu-devel] Re: Re: Compile error on Windows

2006-08-17 Thread alex
Thanks all, I updated my CVS tree this morning and it compiled fine. Obviously, the problem has been fixed already fixed. Alex. "WaxDragon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Use this patch. > > http://lists.gnu.org/archive/html/qemu

[Qemu-devel] infinite loop at startup on windows

2006-08-18 Thread alex
after install had been complete. When I attach the debugger, I always get the similar result (below). Does this make sense to you? Thank you, Alex. (gdb) where #0 0x77f813b2 in ntdll!DbgUiConnectToDbg () from C:\WINNT\system32\NTDLL.DLL #1 0x7c57fe8f in KERNEL32!DebugActiveProcess () f

[Qemu-devel] Re: -kernel-kqemu and a linux guest

2006-08-20 Thread alex
Brad Campbell wrote: > Brad Campbell wrote: >> G'day all, >> >> I've had *great* results running win2k and xp with -kernel-kqemu on an >> Athlon host under linux 2.6, >> however my experiments using a linux guest have resulted in complete >> kernel bombs.. >> Is there anything I should be doing/t

[Qemu-devel] Re: qemu disk on vfat

2006-08-20 Thread Alex
Are you sure coreect spelling is "qmeu-disk", not "qemu-disk"? -- Alex. "Yann Le Doaré" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] my option is "-hda /mnt/partitions/windows0/qmeu-disk" Le dimanche 07 mai 2006 à 05:44 -0300, Andr

[Qemu-devel] Re: Mouse gets stuck w/ qemu-0.8.1 running Windows2000/XP

2006-08-20 Thread Alex
(0); +} } static void sdl_show_cursor(void) { if (!kbd_mouse_is_absolute()) { - SDL_SetCursor(sdl_cursor_normal); + SDL_ShowCursor(1); } } -- Alex. "Johannes Schindelin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, >

[Qemu-devel] Re: linux-test-0.5.1.tar.gz seems outdated, but isn't

2006-08-20 Thread Alex
It is well docummented. The defalt nic card is ne2k-pci and it is not Debian specific. Alex. - Original Message - From: "Geert Stappers" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.emulators.qemu Sent: Friday, June 16, 2006 11:17 PM Subject: Re: linux-test-0.5.1.tar.g

[Qemu-devel] windows compile error

2006-08-20 Thread alex
vl.o(.text+0x57b0): In function `do_savevm': c:/qemu/vl.c:4570: undefined reference to `gettimeofday' ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

[Qemu-devel] Compile error on Windows

2006-08-20 Thread alex
vl.o(.text+0x57b0): In function `do_savevm': c:/qemu/vl.c:4570: undefined reference to `gettimeofday' ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

[Qemu-devel] mingw compile error patch

2006-08-21 Thread alex
Hi, The patch below allows me to compile qemu on Windows, however it is still not working. The program exits immediately reporting that it can't open the hard disk image. GDB reports the offensive pies of code is in malloc(), which does not make sense to me. Am I doing something wrong? qemu_malloc

[Qemu-devel] Re: mingw compile error patch

2006-08-21 Thread Alex
That's better. What's wrong with QCOW? -- Alex. "Kazu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > alex wrote: > >> Hi, >> The patch below allows me to compile qemu on Windows, however it is still >> not working. >> Th

[Qemu-devel] Re: Re: mingw compile error patch

2006-08-23 Thread alex
;Kazu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Alex wrote: > > > That's better. What's wrong with QCOW? > > > > Qcow uses aio interface but aio emulation is not fully implemented. > > Regards, > Kazu _

[Qemu-devel] windows compile error fix

2006-10-02 Thread alex
--- /d/qemu/block-raw.c Mon Oct 2 13:55:48 2006 +++ block-raw.c Mon Oct 2 13:42:55 2006 @@ -1134,6 +1134,10 @@ { } +void qemu_aio_flush(void) +{ +} + void qemu_aio_wait_start(void) { } ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://

[Qemu-devel] [PATCH] -parallel and -serial on Windows host - second try

2007-01-12 Thread alex
This is a second attempt to post, first one did not get through. This patch fixes -parallel and -serial options work with TCP targets on Windows host. Alex. --- /d/qemu/vl.c Fri Jan 12 10:43:12 2007 +++ vl.c Fri Jan 12 10:49:37 2007 @@ -2692,8 +2692,13 @@ if (ret <

[Qemu-devel] Re: RE: qemu debian etch

2006-01-31 Thread Alex
This works for me: eject cdrom switch back to windows and try to access the cdrom. Now windows will complain that there is no media in the drive. switch to qemu console change cdrom /whatever go back to windows and try again. This time Window should see the correct media. -- Alex. "De

[Bug 1855617] [NEW] savevm with hax saves wrong register state

2019-12-08 Thread Alex
Public bug reported: I use qemu-i386 with IntelHaxm on Windows 10 x64 host with Windows 7 x86 guest. I run the guest till OS loads and create a snapshot with savevm, then close qemu, run it again and try to load the snapshot with loadvm. The guest crashes or freezes. I dumped registers on snaps

API to change the vendor of IDE disk

2022-07-01 Thread Alex
Dear Qemu Genius This is zaifeng (wzf_develo...@foxmail.com) (WeChat ID: QemuKVM). Yes, I am a cloud engineer. (๑•̀ㅂ•́)و✧ May I ask you some questions about Qemu? Here is the problem: If you use IDE disk on a Windows VM, "QEMU HARDDISK" could be found from devi

[Qemu-devel] [Bug 1600563] [NEW] min_io_size is currently limited to size uint16_t

2016-07-10 Thread Alex
Public bug reported: I am using LVM VGs on MD-raid1 for hosting my KVM volumes. On the host, a VG looks like this: Disk /dev/vm/vol202a: 60 GiB, 64424509440 bytes, 125829120 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/opti

[Qemu-devel] [Bug 1775011] [NEW] -display gtk, gl=on crashes on Wayland

2018-06-04 Thread Alex
Public bug reported: steps to reproduce: 1. run a Wayland compositor (I use sway, probably the same bug exists for other compositors) 2. execute qemu -display gtk,gl=on expected results: a GTK window is created that shows SeaBIOS failing to boot actual results: segmentation fault qemu-syste

[Bug 1855617] Re: savevm with hax saves wrong register state

2021-04-24 Thread Alex
** Changed in: qemu Status: Incomplete => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1855617 Title: savevm with hax saves wrong register state Status in QEMU: New Bug description:

[Bug 1775011] Re: -display gtk,gl=on crashes on Wayland

2020-11-23 Thread Alex
** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1775011 Title: -display gtk,gl=on crashes on Wayland Status in QEMU: Fix Released Bug

[Qemu-devel] [Bug 1833053] Re: qemu guest crashes on spice client USB redirected device removal

2019-06-23 Thread Alex
Hello, I have the same qemu behaviour. It happens every time I have unplugged physical usb device attached to guest from the host system. My device is USB GSM dongle. Some times it disconnects and reconnects again for unknown reason, may be power loss... With version 3.1.0 qemu (gentoo linux) th

[Bug 1871267] Re: Multiple (Repeating) Keystrokes in macOS

2020-04-16 Thread Alex
Issues with time emulation. MacOS runs on qemu with a specific cpu option: -cpu Penryn,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on. The code of cpu_x86_cpuid has no handler for 0x4010, so vmware-cpuid-freq is ignored. Another solution is to modify tsc_increment_by_tick value in MSR_IA32

[Bug 1829242] Re: qemu on windows host exits after savevm command

2020-04-16 Thread Alex
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1829242 Title: qemu on windows host exits after savevm command Status in QEMU: Fix

[Bug 1829242] Re: qemu on windows host exits after savevm command

2020-02-24 Thread Alex
** Changed in: qemu Status: New => Fix Committed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1829242 Title: qemu on windows host exits after savevm command Status in QEMU: Fix Committed

[Qemu-devel] [Bug 1829242] Re: qemu on windows host exits after savevm command

2019-05-28 Thread Alex
Hi, No, no messages, no crash window which appears when windows catches unhandled exceptions in software. Looks as if there was an asynchronous command to exit during savevm which executed in parallel to the command. -- You received this bug notification because you are a member of qemu- devel-

[Qemu-devel] [Bug 1829242] Re: qemu on windows host exits after savevm command

2019-05-28 Thread Alex
To do this I must crosscompile qemu on a linux host and debug on a windows host. Is there a gdb for 64-bit windows, since windows debuggers don't understand DWARF debugging info, and is it possible to give him paths to source files, since paths on the build machine and the debugging machine will be

[Qemu-devel] [Bug 1829242] Re: qemu on windows host exits after savevm command

2019-07-19 Thread Alex
Running the operation under debugger catches this error: Critical error detected c374 (2314.a54): Break instruction exception - code 8003 (first chance) ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed+0x72: 7ffe`0780b2d2 cc int 3 This error means that a heap corruption

[Qemu-devel] [Bug 1829242] Re: qemu on windows host exits after savevm command

2019-07-22 Thread Alex
I'm still unable to see all locals, but can output some of them with printf. qemu_savevm_state_iterate is called 35 times, iterates over timer, COLOState, slirp, block and ram entrys, and the error is on handling ram entry. -- You received this bug notification because you are a member of qemu- d

[Qemu-devel] [Bug 1829242] [NEW] qemu on windows host exits after savevm command

2019-05-15 Thread Alex
Public bug reported: I'm running qemu-system-i386.exe 3.1.0 with this command line: "C:\Program Files\qemu\qemu-system-i386.exe" -L C:\user\qemu\pc-bios\ -name win7 -m 4G -uuid 564db62e-e031-b5cf-5f34-a75f8cefa98e -rtc base=localtime -accel hax -hdd C:\VirtualMachines\Dev\Win10x64_VS17\swap.qco

Re: [Qemu-devel] Running KVM guest on X86

2012-08-06 Thread Alex Williamson
On Mon, 2012-08-06 at 15:40 +, Bhushan Bharat-R65777 wrote: > Hi Avi/All, > > I am facing issue to boot KVM guest on x86 (I used to work on PowerPC > platform and do not have enough knowledge of x86). I am working on making > VFIO working on PowerPC Booke, So I have cloned A

Re: [Qemu-devel] Running KVM guest on X86

2012-08-09 Thread Alex Williamson
On Thu, 2012-08-09 at 17:39 +, Bhushan Bharat-R65777 wrote: > > > -Original Message- > > From: Stuart Yoder [mailto:b08...@gmail.com] > > Sent: Thursday, August 09, 2012 8:28 PM > > To: Bhushan Bharat-R65777 > > Cc: Alex Williamson; qemu-devel@nongn

Re: [Qemu-devel] Running KVM guest on X86

2012-08-09 Thread Alex Williamson
On Thu, 2012-08-09 at 18:06 +, Bhushan Bharat-R65777 wrote: > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Thursday, August 09, 2012 11:25 PM > > To: Bhushan Bharat-R65777 > > Cc: Stuart Yoder;

Re: [Qemu-devel] [PATCH 0/3] VFIO-based PCI device assignment for QEMU 1.2

2012-08-13 Thread Alex Williamson
On Mon, 2012-08-13 at 08:27 -0500, Anthony Liguori wrote: > Alex Williamson writes: > > > VFIO kernel support was just merged into Linux, so I'd like to > > formally propose inclusion of the QEMU vfio-pci driver for > > QEMU 1.2. Included here is support for x86 P

Re: [Qemu-devel] [PATCH 0/3] VFIO-based PCI device assignment for QEMU 1.2

2012-08-13 Thread Alex Williamson
On Mon, 2012-08-13 at 17:48 +0200, Andreas Hartmann wrote: > Alex Williamson wrote: > > On Mon, 2012-08-13 at 08:27 -0500, Anthony Liguori wrote: > >> Alex Williamson writes: > >> > >>> VFIO kernel support was just merged into Linux, so I'd like to

Re: [Qemu-devel] [PATCH 0/3] VFIO-based PCI device assignment for QEMU 1.2

2012-08-13 Thread Alex Williamson
On Mon, 2012-08-13 at 18:36 +0200, Andreas Hartmann wrote: > Alex Williamson schrieb: > > On Mon, 2012-08-13 at 17:48 +0200, Andreas Hartmann wrote: > >> Alex Williamson wrote: > >>> On Mon, 2012-08-13 at 08:27 -0500, Anthony Liguori wrote: > >>>>

[Qemu-devel] VFIO: Call for reviewers (was Re: [PATCH 0/3] VFIO-based PCI device assignment for QEMU 1.2)

2012-08-13 Thread Alex Williamson
On Mon, 2012-08-13 at 14:33 -0500, Anthony Liguori wrote: > Alex Williamson writes: > > > On Mon, 2012-08-13 at 08:27 -0500, Anthony Liguori wrote: > >> Alex Williamson writes: > >> > >> > VFIO kernel support was just merged into Linux, so I'd l

Re: [Qemu-devel] [PATCH 0/3] VFIO-based PCI device assignment for QEMU 1.2

2012-08-13 Thread Alex Williamson
On Mon, 2012-08-13 at 20:48 +, Blue Swirl wrote: > On Mon, Aug 13, 2012 at 7:33 PM, Anthony Liguori wrote: > > Alex Williamson writes: > > > >> On Mon, 2012-08-13 at 08:27 -0500, Anthony Liguori wrote: > >>> Alex Williamson writes: > >>>

Re: [Qemu-devel] [PATCH 2/3] vfio: vfio-pci device assignment driver

2012-08-13 Thread Alex Williamson
On Mon, 2012-08-13 at 17:18 -0500, Anthony Liguori wrote: > Alex Williamson writes: > > +static int vfio_load_rom(VFIODevice *vdev) > > +{ > > +uint64_t size = vdev->rom_size; > > +const VMStateDescription *vmsd; > > +char name[32]; > > +

Re: [Qemu-devel] [PATCH 3/3] vfio: Enable vfio-pci and mark supported

2012-08-13 Thread Alex Williamson
On Mon, 2012-08-13 at 17:19 -0500, Anthony Liguori wrote: > Jan Kiszka writes: > > > On 2012-08-01 07:18, Alex Williamson wrote: > >> Signed-off-by: Alex Williamson > >> --- > >> > >> MAINTAINERS |5 + > >>

Re: [Qemu-devel] [PATCH 2/3] vfio: vfio-pci device assignment driver

2012-08-14 Thread Alex Williamson
On Tue, 2012-08-14 at 08:12 +0100, Stefan Hajnoczi wrote: > On Tue, Jul 31, 2012 at 11:18:15PM -0600, Alex Williamson wrote: > > This adds the core of the QEMU VFIO-based PCI device assignment driver. > > To make use of this driver, enable CONFIG_VFIO, CONFIG_VFIO_IOMMU

Re: [Qemu-devel] [PATCH 2/3] vfio: vfio-pci device assignment driver

2012-08-14 Thread Alex Williamson
On Tue, 2012-08-14 at 18:53 +0300, Avi Kivity wrote: > On 08/01/2012 08:18 AM, Alex Williamson wrote: > > This adds the core of the QEMU VFIO-based PCI device assignment driver. > > To make use of this driver, enable CONFIG_VFIO, CONFIG_VFIO_IOMMU_TYPE1, > > and CONFIG_VFIO_P

Re: [Qemu-devel] [PATCH v2 3/4] vfio: vfio-pci device assignment driver

2012-08-14 Thread Alex Williamson
> On 2012-08-02 21:17, Alex Williamson wrote: > > + > > +static int vfio_msix_vector_use(PCIDevice *pdev, > > +unsigned int vector, MSIMessage msg) > > +{ > > +VFIODevice *vdev = DO_UPCAST(VFIODevice, pdev, pdev); > > +

[Qemu-devel] [PATCH v3 0/4] VFIO-based PCI device assignment for QEMU 1.2

2012-08-14 Thread Alex Williamson
.2-v2 tags/vfio-pci-for-qemu-1.2-v3 Blue Swirl already offered an Ack-by for previous version, I'll hope, but won't assume that carries forward. Original description below with updated tag. Thanks, Alex VFIO kernel support was just merged into Linux, so I'd like to formal

[Qemu-devel] [PATCH v3 1/4] Update kernel header script to include vfio

2012-08-14 Thread Alex Williamson
Signed-off-by: Alex Williamson --- scripts/update-linux-headers.sh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh index 9d2a4bc..270d32b 100755 --- a/scripts/update-linux-headers.sh +++ b/scripts/update

[Qemu-devel] [PATCH v3 4/4] vfio: Enable vfio-pci and mark supported

2012-08-14 Thread Alex Williamson
Signed-off-by: Alex Williamson --- MAINTAINERS |5 + configure |6 ++ hw/i386/Makefile.objs |1 + 3 files changed, 12 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 708ad54..327b219 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -468,6

[Qemu-devel] [PATCH v3 2/4] Update Linux kernel headers

2012-08-14 Thread Alex Williamson
Based on Linux as of ddf343f6. Note that vfio.h isn't yet an installed header at this commit, but is fixed by trivial update to include/linux/Kbuild. Signed-off-by: Alex Williamson --- linux-headers/asm-s390/kvm.h |2 linux-headers/asm-s390/kvm_para.h |2 linux-headers/as

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Alex Williamson
ed a reviewed-by for this version and Blue Swirl offered an acked-by for prior versions. If we don't have sufficient sign-offs by the deadline it'll have to wait for 1.3. Thanks, Alex

[Qemu-devel] [PATCH] x86: enforce DPL checking on task gate switches invoked through IDT

2012-08-17 Thread Alex ZUEPKE
(void) { __asm__ volatile ("int $8"); } $ gcc test.c $ ./a.out Segmentation fault $ ... and not a kernel panic (double fault) Forgive me for sending this patch as attachment, I'm not used to git. Best Regards, Alex x86 software emulation (non-KVM mode) does not check privi

[Qemu-devel] [PATCH] x86: enforce DPL checking on task gate switches invoked through IDT

2012-08-17 Thread Alex ZUEPKE
(void) { __asm__ volatile ("int $8"); } $ gcc test.c $ ./a.out Segmentation fault $ ... and not a kernel panic (double fault) Best Regards, Alex --- x86 software emulation (non-KVM mode) does not check privilege levels on task gate switches ... so one can invoke a kernel&

Re: [Qemu-devel] [RFC PATCH] vfio: add fixup for broken PCI devices

2012-08-20 Thread Alex Williamson
On Sat, 2012-08-18 at 00:28 +1000, Alexey Kardashevskiy wrote: > On Fri, Jun 22, 2012 at 6:16 PM, Alexey Kardashevskiy wrote: > > > On 07/06/12 09:17, Alex Williamson wrote: > > > On Fri, 2012-05-25 at 17:35 +1000, Alexey Kardashevskiy wrote: > > >> Some adapters

Re: [Qemu-devel] [PATCH uq/master] kvm: Clean up irqfd API

2012-08-20 Thread Alex Williamson
On Mon, 2012-08-20 at 10:55 +0200, Jan Kiszka wrote: > No need to expose the fd-based interface, everyone will already be fine > with the more handy EventNotifier variant. Rename the latter to clarify > that we are still talking about irqfds here. > > Signed-off-by: Jan Kiszka

Re: [Qemu-devel] [PATCH] x86: enforce DPL checking on task gate switches invoked through IDT

2012-08-27 Thread Alex ZUEPKE
Ping, no response so far ... Thanks, Alex Alex ZUEPKE wrote: > Hi, > > x86 software emulation (non-KVM mode) does not check privilege levels on > task gate switches ... so one can invoke a kernel's double fault handler > from user space -- very bad. > > Expected beha

Re: [Qemu-devel] Isuue assiging devices using VFIO on x86

2012-08-28 Thread Alex Williamson
On Tue, 2012-08-28 at 09:23 +, Bhushan Bharat-R65777 wrote: > Hi Alex, > > In my susyem I have following devices: > > I tried assigning a following PCI devices: > 00:03.0 Communication controller: Intel Corporation 4 Series Chipset HECI > Controller (rev 03) > 00:0

[Qemu-devel] [PATCH v2 0/5] VFIO core framework

2012-01-23 Thread Alex Williamson
t on these, I'll split up and post the VFIO PCI bus driver for inclusion as well. I can also host the above vfio-next branch for inclusion in linux-next. Please review and comment. Thanks, Alex v2: Interrupt setup ioctl rework based on comments by Konrad. The interrupt ioctls are no lon

[Qemu-devel] [PATCH v2 1/5] vfio: Introduce documentation for VFIO driver

2012-01-23 Thread Alex Williamson
Including rationale for design, example usage and API description. Signed-off-by: Alex Williamson --- Documentation/vfio.txt | 359 1 files changed, 359 insertions(+), 0 deletions(-) create mode 100644 Documentation/vfio.txt diff --git a

[Qemu-devel] [PATCH v2 2/5] vfio: VFIO core header

2012-01-23 Thread Alex Williamson
This defines both the user and bus driver APIs. Signed-off-by: Alex Williamson --- Documentation/ioctl/ioctl-number.txt |1 include/linux/vfio.h | 395 ++ 2 files changed, 396 insertions(+), 0 deletions(-) create mode 100644 include/linux

[Qemu-devel] [PATCH v2 3/5] vfio: VFIO core group interface

2012-01-23 Thread Alex Williamson
This provides the base group management with conduits to the IOMMU driver and VFIO bus drivers. Signed-off-by: Alex Williamson --- drivers/vfio/vfio_main.c| 1248 +++ drivers/vfio/vfio_private.h | 36 + 2 files changed, 1284 insertions(+), 0

[Qemu-devel] [PATCH v2 5/5] vfio: VFIO core Kconfig and Makefile

2012-01-23 Thread Alex Williamson
Enable the base code. Signed-off-by: Alex Williamson --- MAINTAINERS |8 drivers/Kconfig |2 ++ drivers/Makefile |1 + drivers/vfio/Kconfig |8 drivers/vfio/Makefile |3 +++ 5 files changed, 22 insertions(+), 0 deletions(-) create

[Qemu-devel] [PATCH v2 4/5] vfio: VFIO core IOMMU mapping support

2012-01-23 Thread Alex Williamson
Backing for operations on the IOMMU object, including DMA mapping and unmapping. Signed-off-by: Alex Williamson --- drivers/vfio/vfio_iommu.c | 611 + 1 files changed, 611 insertions(+), 0 deletions(-) create mode 100644 drivers/vfio/vfio_iommu.c

Re: [Qemu-devel] [RFC/PATCH] Fix guest OS panic when 64bit BAR is present

2012-01-25 Thread Alex Williamson
&proxy->msix_bar, 1, 0)) { > -pci_register_bar(&proxy->pci_dev, 1, PCI_BASE_ADDRESS_SPACE_MEMORY, > +pci_register_bar(&proxy->pci_dev, 1, PCI_BASE_ADDRESS_SPACE_MEMORY | > + PCI_BASE_ADDRESS_MEM_TYPE_64, > &proxy->msix_bar); > } else > vdev->nvectors = 0; > I was also able to add MEM64 BARs to device assignment pretty trivially and it seems to work, guest sees 64bit BARs for an 82576 VF, programs it to an fexx address and it works. Alex

Re: [Qemu-devel] [RFC] Device isolation infrastructure v2

2012-01-25 Thread Alex Williamson
On Wed, 2012-01-25 at 14:13 +1100, David Gibson wrote: > On Tue, Dec 20, 2011 at 09:30:37PM -0700, Alex Williamson wrote: > > On Wed, 2011-12-21 at 14:32 +1100, David Gibson wrote: > > > On Mon, Dec 19, 2011 at 04:41:56PM +0100, Joerg Roedel wrote: > > > > On Mon, De

[Qemu-devel] Trying to add usermode support for signalfd (but failing)

2012-01-26 Thread Alex Barcelo
I was trying to add signalfd support on qemu-ppc (specifically, I'm doing a configure with "--enable-debug-tcg --enable-debug --disable-strip --disable-kvm --disable-bsd-user --disable-darwin-user --enable-profiler --target-list=ppc-linux-user --disable-curl --enable-nptl"). At first I thought tha

[Qemu-devel] Coroutines and ucontext

2012-01-27 Thread Alex Barcelo
I have read that one of the reasons for using makecontext is that it saves the signal state. But there also exist functions like "sigsetjmp" and "siglongjmp" which can be used to jump around the coroutines while preserving signal masks. I have a patch that uses sigsetjmp and siglongjmp instead of

Re: [Qemu-devel] Coroutines and ucontext

2012-01-28 Thread Alex Barcelo
On Fri, Jan 27, 2012 at 15:39, Paolo Bonzini wrote: >> I have a patch that uses sigsetjmp and siglongjmp instead of >> makecontext and getcontext (and all the ucontext stuff), and it >> *seems* to work... but I'm not sure if it works "by accident" (not >> sure what I'm doing to the stack, not sure

Re: [Qemu-devel] [PATCH 2/3] device_isolation: Support isolation on POWER p5ioc2 bridges

2012-02-01 Thread Alex Williamson
On Wed, 2012-02-01 at 15:46 +1100, David Gibson wrote: > This patch adds code to the code for the powernv platform to create > and populate isolation groups on hardware using the p5ioc2 PCI host > bridge used on some IBM POWER systems. > > Signed-off-by: Alexey Kardashevskiy > Signed-off-by: Davi

Re: [Qemu-devel] [PATCH 2/3] device_isolation: Support isolation on POWER p5ioc2 bridges

2012-02-01 Thread Alex Williamson
On Wed, 2012-02-01 at 11:58 -0700, Alex Williamson wrote: > On Wed, 2012-02-01 at 15:46 +1100, David Gibson wrote: > > This patch adds code to the code for the powernv platform to create > > and populate isolation groups on hardware using the p5ioc2 PCI host > > bridge u

Re: [Qemu-devel] [PATCH 3/3] device_isolation: Support isolation on POWER p7ioc (IODA) bridges

2012-02-01 Thread Alex Williamson
v_phb_type { > @@ -60,6 +62,10 @@ struct pnv_ioda_pe { > > /* Link in list of PE#s */ > struct list_headlink; > + > +#ifdef CONFIG_DEVICE_ISOLATION > + struct device_isolation_group di_group; > +#endif Embedding the struct means we need to know the size, which means we can't get rid of the #ifdef. Probably better to use a pointer if we don't mind adding a few bytes in the #ifndef case. Thanks, Alex > }; > > struct pnv_phb {

Re: [Qemu-devel] RFC: Device isolation groups

2012-02-01 Thread Alex Williamson
to a group to something like vfio binding to that group and creating a chardev to access it? Are we manipulating automatic driver binding or existing bound drivers once a group is bound? Do isolation groups enforce isolation, or just describe it? Thanks, Alex

[Qemu-devel] [PATCH] pci: Add generic PCI device option to disable 64bit MMIO BARs

2012-02-01 Thread Alex Williamson
As we start to enable 64bit I/O devices, there's a good chance we'll find bugs and compatibility issues. This allows a user to toggle off (default on) 64bit PCI MMIO BARs, downgrading them to 32bit BARs. Signed-off-by: Alex Williamson --- Should this be an "x-mem64" optio

Re: [Qemu-devel] [PATCH] pci: Add generic PCI device option to disable 64bit MMIO BARs

2012-02-01 Thread Alex Williamson
On Thu, 2012-02-02 at 01:14 +0200, Michael S. Tsirkin wrote: > On Wed, Feb 01, 2012 at 03:57:02PM -0700, Alex Williamson wrote: > > As we start to enable 64bit I/O devices, there's a good chance > > we'll find bugs and compatibility issues. This allows a user > > t

Re: [Qemu-devel] [PATCH] pci: Add generic PCI device option to disable 64bit MMIO BARs

2012-02-01 Thread Alex Williamson
On Wed, 2012-02-01 at 15:57 -0700, Alex Williamson wrote: > As we start to enable 64bit I/O devices, there's a good chance > we'll find bugs and compatibility issues. This allows a user > to toggle off (default on) 64bit PCI MMIO BARs, downgrading > them to 32bit BARs. &g

[Qemu-devel] sigaltstack bug in qemu (testing on qemu-ppc)

2012-02-04 Thread Alex Barcelo
I am barely able to understand this inline function: static inline int sas_ss_flags(unsigned long sp) { return (target_sigaltstack_used.ss_size == 0 ? SS_DISABLE : on_sig_stack(sp) ? SS_ONSTACK : 0); } (signal.c @97) ... and it seems wrong to me when used in the following function

Re: [Qemu-devel] Coroutines and ucontext

2012-02-07 Thread Alex Barcelo
On Tue, Feb 7, 2012 at 12:18, Stefan Hajnoczi wrote: > On Sat, Jan 28, 2012 at 9:31 AM, Alex Barcelo wrote: >> On Fri, Jan 27, 2012 at 15:39, Paolo Bonzini wrote: >>>> I have a patch that uses sigsetjmp and siglongjmp instead of >>>> makecontext and getcontext

[Qemu-devel] [TRIVIAL] sas_ss_flags bug for powerpc

2012-02-09 Thread Alex Barcelo
Signed-off-by: Alex Barcelo --- linux-user/signal.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index 79a39dc..26e0530 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -4115,7 +4115,7 @@ static target_ulong

Re: [Qemu-devel] sigaltstack bug in qemu (testing on qemu-ppc)

2012-02-09 Thread Alex Barcelo
On Sun, Feb 5, 2012 at 00:00, Peter Maydell wrote: > On 4 February 2012 14:26, Alex Barcelo wrote: >> (...) > This looks like a bug, yes -- the other architectures have the ! > (or equivalent code) in their get_sigframe() implementations so > probably ppc is just wrong here. Ye

Re: [Qemu-devel] [TRIVIAL] sas_ss_flags bug for powerpc

2012-02-09 Thread Alex Barcelo
On Thu, Feb 9, 2012 at 19:43, Andreas Färber wrote: > Am 09.02.2012 19:30, schrieb Alex Barcelo: >> Signed-off-by: Alex Barcelo > > This patch needs a better description than "bug", sorry, something like "Incorrect zero comparison in sas_ss_flags" would have

[Qemu-devel] [TRIVIAL v2] Bad zero comparison for sas_ss_flags on powerpc

2012-02-10 Thread Alex Barcelo
done wrong only for this architecture, it's more a typo than a bug). It's NOT ppc specific, it's POSIX standard (sigaltstack) and qemu internal. I have a test source that I will send in a follow-up (it's longer than I would have wished, I'm sure that a better test case can be

Re: [Qemu-devel] [TRIVIAL v2] Bad zero comparison for sas_ss_flags on powerpc

2012-02-10 Thread Alex Barcelo
// Test source and desired /real output: #include #include #include #include void handler(int sig) { unsigned int a; // to prevent uninitialized stack, normally a = 0 if ( a>10 ) a = 0; a = a + 1; printf ("new value: %d\n" , a ); if (a > 7) _exit(a); return; } int main()

Re: [Qemu-devel] [Qemu-trivial] [TRIVIAL] sas_ss_flags bug for powerpc

2012-02-10 Thread Alex Barcelo
I have sent a v2 of this patch (renaming it, with a description and a test case). If it's not trivial and I have to send it in another way, I will do so. Sorry for the inconvenience, as I said I'm new here and maybe I misunderstood the "trivial" category.

[Qemu-devel] [PATCH 0/3] New sigaltstack method for coroutine

2012-02-13 Thread Alex Barcelo
(file pth_mctx.c, variant 2). It's my first patch, I'm sure that there are things that I have done wrong. Please, be kind :) Thanks for your time Alex Barcelo (3): coroutine: adding sigaltstack method (.c source) coroutine: adding control flags (enable/disable) for ucontext c

[Qemu-devel] [PATCH 1/3] coroutine: adding sigaltstack method (.c source)

2012-02-13 Thread Alex Barcelo
This file is based in both coroutine-ucontext.c and pth_mctx.c (from the GNU Portable Threads library). The mechanism used to change stacks is the sigaltstack function (variant 2 of the pth library). Signed-off-by: Alex Barcelo --- coroutine-sigaltstack.c | 337

  1   2   3   4   5   6   7   8   9   10   >