block.c (21b568350861a2c6eedfef95b70f88faf2fbd32a) block.c (4cc70e933731ebf4309e1f1ce90973a0de04f28f)
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 3511 unchanged lines hidden (view full) ---

3520
3521 if (bs && bs->drv && bs->drv->bdrv_debug_breakpoint) {
3522 return bs->drv->bdrv_debug_breakpoint(bs, event, tag);
3523 }
3524
3525 return -ENOTSUP;
3526}
3527
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 3511 unchanged lines hidden (view full) ---

3520
3521 if (bs && bs->drv && bs->drv->bdrv_debug_breakpoint) {
3522 return bs->drv->bdrv_debug_breakpoint(bs, event, tag);
3523 }
3524
3525 return -ENOTSUP;
3526}
3527
3528int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag)
3529{
3530 while (bs && bs->drv && !bs->drv->bdrv_debug_remove_breakpoint) {
3531 bs = bs->file;
3532 }
3533
3534 if (bs && bs->drv && bs->drv->bdrv_debug_remove_breakpoint) {
3535 return bs->drv->bdrv_debug_remove_breakpoint(bs, tag);
3536 }
3537
3538 return -ENOTSUP;
3539}
3540
3528int bdrv_debug_resume(BlockDriverState *bs, const char *tag)
3529{
3530 while (bs && bs->drv && !bs->drv->bdrv_debug_resume) {
3531 bs = bs->file;
3532 }
3533
3534 if (bs && bs->drv && bs->drv->bdrv_debug_resume) {
3535 return bs->drv->bdrv_debug_resume(bs, tag);

--- 1322 unchanged lines hidden ---
3541int bdrv_debug_resume(BlockDriverState *bs, const char *tag)
3542{
3543 while (bs && bs->drv && !bs->drv->bdrv_debug_resume) {
3544 bs = bs->file;
3545 }
3546
3547 if (bs && bs->drv && bs->drv->bdrv_debug_resume) {
3548 return bs->drv->bdrv_debug_resume(bs, tag);

--- 1322 unchanged lines hidden ---