Blame kvm-62-e1000-default.patch
|
Glauber Costa |
975ebf7 |
diff -Naurp kvm-69.orig/kvm kvm-69/kvm
|
|
Glauber Costa |
975ebf7 |
--- kvm-69.orig/kvm 2008-05-12 08:30:43.000000000 -0300
|
|
Glauber Costa |
975ebf7 |
+++ kvm-69/kvm 2008-05-20 15:05:32.000000000 -0300
|
|
Glauber Costa |
975ebf7 |
@@ -58,7 +58,7 @@ optparser.add_option('--no-tap',
|
|
|
62e68d3 |
optparser.add_option('--nictype',
|
|
|
62e68d3 |
help = 'use this specific nic type (vendor)',
|
|
|
62e68d3 |
dest = 'nictype',
|
|
|
62e68d3 |
- default = 'rtl8139',
|
|
|
62e68d3 |
+ default = 'e1000',
|
|
|
62e68d3 |
)
|
|
|
62e68d3 |
|
|
|
62e68d3 |
optparser.add_option('--mac',
|
|
Glauber Costa |
975ebf7 |
diff -Naurp kvm-69.orig/qemu/hw/pc.c kvm-69/qemu/hw/pc.c
|
|
Glauber Costa |
975ebf7 |
--- kvm-69.orig/qemu/hw/pc.c 2008-05-12 08:30:43.000000000 -0300
|
|
Glauber Costa |
975ebf7 |
+++ kvm-69/qemu/hw/pc.c 2008-05-20 15:05:32.000000000 -0300
|
|
Glauber Costa |
975ebf7 |
@@ -1034,7 +1034,7 @@ static void pc_init1(ram_addr_t ram_size
|
|
|
62e68d3 |
nd = &nd_table[i];
|
|
|
62e68d3 |
if (!nd->model) {
|
|
|
62e68d3 |
if (pci_enabled) {
|
|
|
62e68d3 |
- nd->model = "rtl8139";
|
|
|
62e68d3 |
+ nd->model = "e1000";
|
|
|
62e68d3 |
} else {
|
|
|
62e68d3 |
nd->model = "ne2k_isa";
|
|
|
62e68d3 |
}
|
|
Glauber Costa |
975ebf7 |
diff -Naurp kvm-69.orig/qemu/vl.c kvm-69/qemu/vl.c
|
|
Glauber Costa |
975ebf7 |
--- kvm-69.orig/qemu/vl.c 2008-05-12 08:30:43.000000000 -0300
|
|
Glauber Costa |
975ebf7 |
+++ kvm-69/qemu/vl.c 2008-05-20 15:05:32.000000000 -0300
|
|
Glauber Costa |
975ebf7 |
@@ -9076,7 +9076,7 @@ int main(int argc, char **argv)
|
|
|
62e68d3 |
char buf[1024];
|
|
|
62e68d3 |
if (net_boot & (1 << i)) {
|
|
|
62e68d3 |
if (model == NULL)
|
|
|
62e68d3 |
- model = "rtl8139";
|
|
|
62e68d3 |
+ model = "e1000";
|
|
|
62e68d3 |
snprintf(buf, sizeof(buf), "%s/pxe-%s.bin", bios_dir, model);
|
|
|
62e68d3 |
if (get_image_size(buf) > 0) {
|
|
|
62e68d3 |
if (nb_option_roms >= MAX_OPTION_ROMS) {
|