Skip to contentSkip to conversation

Pass-through a graphic card

PATCH mail mark 4 participants 6 messages Jun 13, 2008 – Jun 23, 2008

lore
Share & tools
lore

mail mark

author
#0 lore raw

I have two questions.

1.
I tried to create domU(WindowsXP-SP2) with this patch. The domU was created, but domU did not appear on the display. How do I see domU?

2.
After domU was created, I tried to kill domU(WinXP).

$xm shutdown WinXP

but WinXP had still existed.

$xm list
Name ID
Domain-0 0
WinXP 1

Why?

domU configuration file:
pci = [ '03:02.0' ] (03:02.0 is principal graphic card.)
vga_pass_through=1

kernel option:
pciback.hide=(03:02.0)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 6 lines · mail mark

I have two questions.

1.
I tried to create domU(WindowsXP-SP2) with this patch. The domU was created, but domU did not appear on the display. How do I see domU?

You should see the display on the monitor at least in VGA (4 bits colour).

Quoted 13 lines

2.
After domU was created, I tried to kill domU(WinXP).

$xm shutdown WinXP

but WinXP had still existed.

$xm list
Name ID
Domain-0 0
WinXP 1

Quoted 6 lines

Why?

domU configuration file:
pci = [ '03:02.0' ] (03:02.0 is principal graphic card.)
vga_pass_through=1

The option is vga_passthrough with my patch.

Quoted 4 lines

kernel option:
pciback.hide=(03:02.0)

Mark,

The problem is right now we re-execute the native VGA bios in the guest, so this patch is very graphic card dependent.

Right now as far as I now it's only working fine with a intel 5400 chipset with the embedded ATI ES 1000.

We are currently trying to make it works on a Q35 box.

Regards,

Signature · 1 line
Jean Guyader
author
#2 lore raw

Jean,

Now I am trying to make this patch works on Q35 box too, but I still don't find the code that is graphic card dependent.

Would you tell me where we should fix to make it works on Q35 box?

Regards,

2008/6/14, Jean Guyader <[email protected]>:

Quoted 50 lines
Quoted 7 lines · mail mark

I have two questions.

1.
I tried to create domU(WindowsXP-SP2) with this patch. The domU was created, but domU did not appear on the display. How do I see domU?

You should see the display on the monitor at least in VGA (4 bits colour).

Quoted 12 lines

2.
After domU was created, I tried to kill domU(WinXP).

$xm shutdown WinXP

but WinXP had still existed.

$xm list
Name ID
Domain-0 0
WinXP 1

Quoted 7 lines

Why?

domU configuration file:
pci = [ '03:02.0' ] (03:02.0 is principal graphic card.)
vga_pass_through=1

The option is vga_passthrough with my patch.

Quoted 4 lines

kernel option:
pciback.hide=(03:02.0)

Mark,

The problem is right now we re-execute the native VGA bios in the guest, so this patch is very graphic card dependent.

Right now as far as I now it's only working fine with a intel 5400 chipset with the embedded ATI ES 1000.

Quoted 7 lines

We are currently trying to make it works on a Q35 box.

Regards,

--
Jean Guyader

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Neo,

There is no code that is graphic card dependent. It is graphic card dependent because this patch re-execute the native vga bios inside the guest.
I tried with ATI and when windows loads the ATI driver the guest reboots. Good luck with your tests.

Regards,

Quoted 73 lines · mail mark

Jean,

Now I am trying to make this patch works on Q35 box too, but I still don't find the code that is graphic card dependent.

Would you tell me where we should fix to make it works on Q35 box?

Regards,

2008/6/14, Jean Guyader <[email protected]>:

Quoted 48 lines
Quoted 7 lines · mail mark

I have two questions.

1.
I tried to create domU(WindowsXP-SP2) with this patch. The domU was created, but domU did not appear on the display. How do I see domU?

You should see the display on the monitor at least in VGA (4 bits colour).

Quoted 13 lines

2.
After domU was created, I tried to kill domU(WinXP).

$xm shutdown WinXP

but WinXP had still existed.

$xm list
Name ID
Domain-0 0
WinXP 1

Quoted 6 lines

Why?

domU configuration file:
pci = [ '03:02.0' ] (03:02.0 is principal graphic card.)
vga_pass_through=1

The option is vga_passthrough with my patch.

Quoted 4 lines

kernel option:
pciback.hide=(03:02.0)

Mark,

The problem is right now we re-execute the native VGA bios in the guest, so this patch is very graphic card dependent.

Right now as far as I now it's only working fine with a intel 5400 chipset with the embedded ATI ES 1000.

Quoted 6 lines

We are currently trying to make it works on a Q35 box.

Regards,

--
Jean Guyader

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
Jean Guyader
author
#4 lore raw

Jean,

Hmm. It worked fine with intel 5400 chipset but Q35 box couldn't. In this patch, is there the code that is chipset dependent? If there is, where is it?
The kind of graphic card is no object. Anyway, I make it works on a Q35 box.If I can, what should I change?

Regards,

2008/6/22 Jean Guyader <[email protected]>:

Quoted 90 lines

Neo,

There is no code that is graphic card dependent. It is graphic card dependent because this patch re-execute the native vga bios inside the guest.
I tried with ATI and when windows loads the ATI driver the guest reboots. Good luck with your tests.

Regards,

Quoted 3 lines · mail mark

Jean,

Now I am trying to make this patch works on Q35 box too, but I still

don't

Quoted 19 lines

find the code that is graphic card dependent.

Would you tell me where we should fix to make it works on Q35 box?

Regards,

2008/6/14, Jean Guyader <[email protected]>:

Quoted 11 lines
Quoted 7 lines · mail mark

I have two questions.

1.
I tried to create domU(WindowsXP-SP2) with this patch. The domU was created, but domU did not appear on the display. How do I see domU?

You should see the display on the monitor at least in VGA (4 bits

colour).

Quoted 29 lines
Quoted 29 lines
Quoted 14 lines

2.
After domU was created, I tried to kill domU(WinXP).

$xm shutdown WinXP

but WinXP had still existed.

$xm list
Name ID
Domain-0 0
WinXP 1

Quoted 6 lines

Why?

domU configuration file:
pci = [ '03:02.0' ] (03:02.0 is principal graphic card.)
vga_pass_through=1

The option is vga_passthrough with my patch.

Quoted 4 lines

kernel option:
pciback.hide=(03:02.0)

Quoted 6 lines
Quoted 6 lines

Mark,

The problem is right now we re-execute the native VGA bios in the guest, so this patch is very graphic card dependent.

Right now as far as I now it's only working fine with a intel 5400

chipset

Quoted 6 lines
Quoted 6 lines

with the embedded ATI ES 1000.

We are currently trying to make it works on a Q35 box.

Regards,

Quoted 10 lines
Quoted 2 lines

--
Jean Guyader

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 3 lines

--
Jean Guyader

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
In reply to Jean Guyader
Quoted 39 lines · Jean Guyader
Quoted 7 lines · mail mark

I have two questions.

1.
I tried to create domU(WindowsXP-SP2) with this patch. The domU was created, but domU did not appear on the display. How do I see domU?

You should see the display on the monitor at least in VGA (4 bits colour).

Quoted 13 lines

2.
After domU was created, I tried to kill domU(WinXP).

$xm shutdown WinXP

but WinXP had still existed.

$xm list
Name ID
Domain-0 0
WinXP 1

Quoted 6 lines

Why?

domU configuration file:
pci = [ '03:02.0' ] (03:02.0 is principal graphic card.)
vga_pass_through=1

The option is vga_passthrough with my patch.

Quoted 4 lines

kernel option:
pciback.hide=(03:02.0)

Quoted 7 lines

Mark,

The problem is right now we re-execute the native VGA bios in the guest, so this patch is very graphic card dependent.

Right now as far as I now it's only working fine with a intel 5400 chipset with the embedded ATI ES 1000.

Does the ATI driver work?

Thanks,
Neo

Quoted 13 lines

We are currently trying to make it works on a Q35 box.

Regards,

--
Jean Guyader

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!